Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -15,7 +15,7 @@ st.markdown("""
|
|
| 15 |
""", unsafe_allow_html=True)
|
| 16 |
|
| 17 |
# File upload interface
|
| 18 |
-
uploaded_file = st.file_uploader("
|
| 19 |
|
| 20 |
if uploaded_file:
|
| 21 |
if 'all_anomalies' not in st.session_state:
|
|
@@ -142,4 +142,4 @@ if uploaded_file:
|
|
| 142 |
elif sender == '🤖':
|
| 143 |
st.markdown(f"<div style='text-align: right'>**🤖 {message}**</div>", unsafe_allow_html=True)
|
| 144 |
else:
|
| 145 |
-
st.warning("Por favor, carregue um arquivo CSV ou XLSX para começar.")
|
|
|
|
| 15 |
""", unsafe_allow_html=True)
|
| 16 |
|
| 17 |
# File upload interface
|
| 18 |
+
uploaded_file = st.file_uploader("Carregue um arquivo CSV ou XLSX", type=['csv', 'xlsx'])
|
| 19 |
|
| 20 |
if uploaded_file:
|
| 21 |
if 'all_anomalies' not in st.session_state:
|
|
|
|
| 142 |
elif sender == '🤖':
|
| 143 |
st.markdown(f"<div style='text-align: right'>**🤖 {message}**</div>", unsafe_allow_html=True)
|
| 144 |
else:
|
| 145 |
+
st.warning("Por favor, carregue um arquivo CSV ou XLSX para começar.")
|