Spaces:
Runtime error
Runtime error
Commit
·
04ff13b
1
Parent(s):
4b25733
Update app.py
Browse files
app.py
CHANGED
@@ -139,6 +139,7 @@ def analizar_frase(frase):
|
|
139 |
return tabla
|
140 |
|
141 |
def tweets_localidad(buscar_localidad):
|
|
|
142 |
tabla = pd.DataFrame()
|
143 |
try:
|
144 |
geolocator = Nominatim(user_agent="nombre_del_usuario")
|
@@ -181,7 +182,7 @@ def tweets_localidad(buscar_localidad):
|
|
181 |
plt.figure(figsize=(10,6))
|
182 |
plt.show()
|
183 |
st.pyplot()
|
184 |
-
|
185 |
st.set_option('deprecation.showPyplotGlobalUse', False)
|
186 |
except AttributeError:
|
187 |
st.text("No existe ninguna localidad con ese nombre")
|
|
|
139 |
return tabla
|
140 |
|
141 |
def tweets_localidad(buscar_localidad):
|
142 |
+
showPyplotGlobalUse = false
|
143 |
tabla = pd.DataFrame()
|
144 |
try:
|
145 |
geolocator = Nominatim(user_agent="nombre_del_usuario")
|
|
|
182 |
plt.figure(figsize=(10,6))
|
183 |
plt.show()
|
184 |
st.pyplot()
|
185 |
+
|
186 |
st.set_option('deprecation.showPyplotGlobalUse', False)
|
187 |
except AttributeError:
|
188 |
st.text("No existe ninguna localidad con ese nombre")
|