JVice commited on
Commit
b1d9d27
1 Parent(s): 22f7e39

Update model_comparison.py

Browse files
Files changed (1) hide show
  1. model_comparison.py +2 -2
model_comparison.py CHANGED
@@ -53,11 +53,11 @@ TASK_EVAL_DATABASE_PATH = 'data/task_oriented_eval_database.yaml'
53
 
54
  def dataframe_with_selections(df):
55
  # df_with_selections = check_profanity(df.copy())
56
- df_with_selections.insert(0, "Select", True)
57
 
58
  # Get dataframe row-selections from user with st.data_editor
59
  edited_df = st.data_editor(
60
- df_with_selections,
61
  hide_index=True,
62
  column_config={"Select": st.column_config.CheckboxColumn(required=True)},
63
  disabled=df.columns,
 
53
 
54
  def dataframe_with_selections(df):
55
  # df_with_selections = check_profanity(df.copy())
56
+ df.insert(0, "Select", True)
57
 
58
  # Get dataframe row-selections from user with st.data_editor
59
  edited_df = st.data_editor(
60
+ df,
61
  hide_index=True,
62
  column_config={"Select": st.column_config.CheckboxColumn(required=True)},
63
  disabled=df.columns,