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

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -159,7 +159,7 @@ def tweets_localidad(buscar_localidad):
159
  df['Prediccion'] = np.where( df['Prediccion'] == 'LABEL_1', 'Sexista', 'No Sexista')
160
  #tabla = st.table(df.reset_index(drop=True).head(30).style.applymap(color_survived, subset=['Prediccion']))
161
  #df['Tweets'] = df['Tweets'].str.replace('RT|@', '')
162
- df=df[df["Sexista"] == 'Sexista']
163
  tabla = st.table(df.reset_index(drop=True).head(50).style.applymap(color_survived, subset=['Prediccion']))
164
 
165
  df_sexista = df[df['Prediccion']=="Sexista"]
 
159
  df['Prediccion'] = np.where( df['Prediccion'] == 'LABEL_1', 'Sexista', 'No Sexista')
160
  #tabla = st.table(df.reset_index(drop=True).head(30).style.applymap(color_survived, subset=['Prediccion']))
161
  #df['Tweets'] = df['Tweets'].str.replace('RT|@', '')
162
+ df=df[df["Prediccion"] == 'Sexista']
163
  tabla = st.table(df.reset_index(drop=True).head(50).style.applymap(color_survived, subset=['Prediccion']))
164
 
165
  df_sexista = df[df['Prediccion']=="Sexista"]