Joshua1808 commited on
Commit
cfaf805
·
1 Parent(s): 70da8b4

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -106,7 +106,7 @@ def analizar_tweets(search_words, number_of_tweets):
106
  #df = df[df["Prediccion"] == 'Sexista']
107
  #df = df[df["Probabilidad"] > 0.5]
108
  if df.empty:
109
- muestra= st.text("No hay tweets a analizar")
110
  tabla.append(muestra)
111
  else:
112
  df.sort_values(by=['Prediccion', 'Probabilidad'], ascending=[False, False], inplace=True)
 
106
  #df = df[df["Prediccion"] == 'Sexista']
107
  #df = df[df["Probabilidad"] > 0.5]
108
  if df.empty:
109
+ muestra= st.text("No hay tweets Sexistas a analizar")
110
  tabla.append(muestra)
111
  else:
112
  df.sort_values(by=['Prediccion', 'Probabilidad'], ascending=[False, False], inplace=True)