Spaces:
Runtime error
Runtime error
Commit
·
0361138
1
Parent(s):
600055d
Update app.py
Browse files
app.py
CHANGED
@@ -183,8 +183,8 @@ def tweets_localidad(buscar_localidad):
|
|
183 |
st.set_option('deprecation.showPyplotGlobalUse', False)
|
184 |
|
185 |
|
186 |
-
except
|
187 |
-
st.text("Error")
|
188 |
|
189 |
return tabla
|
190 |
|
|
|
183 |
st.set_option('deprecation.showPyplotGlobalUse', False)
|
184 |
|
185 |
|
186 |
+
except NoneType:
|
187 |
+
st.text("Error: no existe ninguna localidad con ese Nombre ")
|
188 |
|
189 |
return tabla
|
190 |
|