Fralet commited on
Commit
b1a564a
1 Parent(s): 48b2405

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -70,7 +70,7 @@ if st.button("Predict Personality by Open Question F"):
70
 
71
 
72
  # Apply predictions across all rows
73
- data_open['Predicted_F'] = data_open.apply(get_predictionsM, axis=1)
74
  st.dataframe(data_open[['True_label', 'Predicted_F']])
75
 
76
  if st.button("Predict Personality by Open Question M"):
@@ -83,5 +83,5 @@ if st.button("Predict Personality by Open Question M"):
83
  return highest_score_label
84
 
85
  # Apply predictions across all rows
86
- data_open['Predicted_M'] = data_open.apply(get_predictions, axis=1)
87
  st.dataframe(data_open[['True_label', 'Predicted_M']])
 
70
 
71
 
72
  # Apply predictions across all rows
73
+ data_open['Predicted_F'] = data_open.apply(get_predictions, axis=1)
74
  st.dataframe(data_open[['True_label', 'Predicted_F']])
75
 
76
  if st.button("Predict Personality by Open Question M"):
 
83
  return highest_score_label
84
 
85
  # Apply predictions across all rows
86
+ data_open['Predicted_M'] = data_open.apply(get_predictionsM, axis=1)
87
  st.dataframe(data_open[['True_label', 'Predicted_M']])