Spaces:
Runtime error
Runtime error
Commit
·
d8e3643
1
Parent(s):
6abfbac
Update app.py
Browse files
app.py
CHANGED
@@ -121,7 +121,7 @@ def analizar_tweets(search_words, number_of_tweets):
|
|
121 |
else:
|
122 |
muestra = st.text("No hay tweets a analizar")
|
123 |
tabla.append(muestra)
|
124 |
-
except
|
125 |
st.text(f"La cuenta @{search_words} no existe.")
|
126 |
|
127 |
else:
|
@@ -173,7 +173,7 @@ def tweets_localidad(buscar_localidad):
|
|
173 |
st.set_option('deprecation.showPyplotGlobalUse', False)
|
174 |
st.pyplot()
|
175 |
|
176 |
-
except
|
177 |
st.text("No existe ninguna localidad con ese nombre")
|
178 |
|
179 |
return tabla
|
|
|
121 |
else:
|
122 |
muestra = st.text("No hay tweets a analizar")
|
123 |
tabla.append(muestra)
|
124 |
+
except Exception as e:
|
125 |
st.text(f"La cuenta @{search_words} no existe.")
|
126 |
|
127 |
else:
|
|
|
173 |
st.set_option('deprecation.showPyplotGlobalUse', False)
|
174 |
st.pyplot()
|
175 |
|
176 |
+
except Exception as e:
|
177 |
st.text("No existe ninguna localidad con ese nombre")
|
178 |
|
179 |
return tabla
|