Joshua1808 commited on
Commit
f764e22
·
1 Parent(s): b0a4631

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -1
app.py CHANGED
@@ -7,6 +7,7 @@ import regex as re
7
  import pysentimiento
8
  import geopy
9
  import matplotlib.pyplot as plt
 
10
 
11
  from pysentimiento.preprocessing import preprocess_tweet
12
  from geopy.geocoders import Nominatim
@@ -176,8 +177,9 @@ def tweets_localidad(buscar_localidad):
176
  plt.title('Cantidad de tweets sexistas y no sexistas')
177
  plt.show()
178
  st.pyplot()
 
179
  st.set_option('deprecation.showPyplotGlobalUse', False)
180
-
181
  return tabla
182
 
183
 
 
7
  import pysentimiento
8
  import geopy
9
  import matplotlib.pyplot as plt
10
+ import plotly.express as px
11
 
12
  from pysentimiento.preprocessing import preprocess_tweet
13
  from geopy.geocoders import Nominatim
 
177
  plt.title('Cantidad de tweets sexistas y no sexistas')
178
  plt.show()
179
  st.pyplot()
180
+ st.plt.figure(figsize=(500px,500px))
181
  st.set_option('deprecation.showPyplotGlobalUse', False)
182
+
183
  return tabla
184
 
185