Joshua1808 commited on
Commit
28a1750
·
1 Parent(s): 4cb688f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -109,9 +109,9 @@ def analizar_tweets(search_words, number_of_tweets ):
109
  result.append(etiqueta)
110
 
111
  data = pd.DataFrame(result)
112
- df['Prediccion'] = np.where( df['Prediccion'] == 'LABEL_1', 'Sexista', 'No Sexista')
113
 
114
- tabla = st.table(df.reset_index(drop=True).head(30).style.applymap(color_survived, subset=['Prediccion']))
115
 
116
  return tabla
117
 
 
109
  result.append(etiqueta)
110
 
111
  data = pd.DataFrame(result)
112
+ #data['Prediccion'] = np.where( df['Prediccion'] == 'LABEL_1', 'Sexista', 'No Sexista')
113
 
114
+ tabla = st.table(data)
115
 
116
  return tabla
117