Spaces:
Runtime error
Runtime error
Commit
路
5b9fe0b
1
Parent(s):
021bcd0
Update app.py
Browse files
app.py
CHANGED
@@ -221,14 +221,14 @@ def run():
|
|
221 |
submit_button = col.form_submit_button(label='Analizar')
|
222 |
error =False
|
223 |
|
224 |
-
|
225 |
-
|
226 |
-
|
227 |
-
|
228 |
-
|
229 |
-
|
230 |
-
|
231 |
-
|
232 |
with colT1:
|
233 |
if (error == False):
|
234 |
if (termino):
|
|
|
221 |
submit_button = col.form_submit_button(label='Analizar')
|
222 |
error =False
|
223 |
|
224 |
+
if submit_button:
|
225 |
+
# Condici贸n para el caso de que esten dos check seleccionados
|
226 |
+
if ( termino == False and usuario == False and localidad == False):
|
227 |
+
st.text('Error no se ha seleccionado ningun check')
|
228 |
+
error=True
|
229 |
+
elif ( termino == True and usuario == True and localidad == True):
|
230 |
+
st.text('Error se han seleccionado varios check')
|
231 |
+
error=True
|
232 |
with colT1:
|
233 |
if (error == False):
|
234 |
if (termino):
|