Spaces:
Runtime error
Runtime error
Commit
·
a80b13f
1
Parent(s):
04ff13b
Update app.py
Browse files
app.py
CHANGED
@@ -139,7 +139,7 @@ def analizar_frase(frase):
|
|
139 |
return tabla
|
140 |
|
141 |
def tweets_localidad(buscar_localidad):
|
142 |
-
|
143 |
tabla = pd.DataFrame()
|
144 |
try:
|
145 |
geolocator = Nominatim(user_agent="nombre_del_usuario")
|
@@ -181,6 +181,7 @@ def tweets_localidad(buscar_localidad):
|
|
181 |
plt.title('Cantidad de tweets sexistas y no sexistas')
|
182 |
plt.figure(figsize=(10,6))
|
183 |
plt.show()
|
|
|
184 |
st.pyplot()
|
185 |
|
186 |
st.set_option('deprecation.showPyplotGlobalUse', False)
|
|
|
139 |
return tabla
|
140 |
|
141 |
def tweets_localidad(buscar_localidad):
|
142 |
+
|
143 |
tabla = pd.DataFrame()
|
144 |
try:
|
145 |
geolocator = Nominatim(user_agent="nombre_del_usuario")
|
|
|
181 |
plt.title('Cantidad de tweets sexistas y no sexistas')
|
182 |
plt.figure(figsize=(10,6))
|
183 |
plt.show()
|
184 |
+
showPyplotGlobalUse = false
|
185 |
st.pyplot()
|
186 |
|
187 |
st.set_option('deprecation.showPyplotGlobalUse', False)
|