Joshua1808 commited on
Commit
dfcadc4
·
1 Parent(s): 33f003a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -223,8 +223,8 @@ def analizar_frase(frase):
223
  df['Prediccion'] = np.where( df['Prediccion'] == 'LABEL_1', 'Sexista', 'No Sexista')
224
  # muestra el DataFrame
225
  tabla = st.table(df.reset_index(drop=True).head(1).style.applymap(color_survived, subset=['Prediccion']))
226
- else:
227
- tabla = st.text("Solo Frase en español")
228
 
229
  return tabla
230
 
 
223
  df['Prediccion'] = np.where( df['Prediccion'] == 'LABEL_1', 'Sexista', 'No Sexista')
224
  # muestra el DataFrame
225
  tabla = st.table(df.reset_index(drop=True).head(1).style.applymap(color_survived, subset=['Prediccion']))
226
+ else:
227
+ tabla = st.text("Solo Frase en español")
228
 
229
  return tabla
230