Spaces:
Runtime error
Runtime error
Commit
·
b0a4631
1
Parent(s):
fc14aa6
Update app.py
Browse files
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["
|
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"]
|