xinchen9 commited on
Commit
ed652e4
1 Parent(s): bf0c29b

[Update]correct for click selection

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -158,7 +158,7 @@ def select_columns(df: pd.DataFrame, columns_1: list) -> pd.DataFrame:
158
  always_here_cols = ['Unlearned_Methods']
159
 
160
  # We use COLS to maintain sorting
161
- all_columns =['Pre-ASR','Post-ASR','FID','Clip-Score']
162
 
163
  if (len(columns_1)) == 0:
164
  filtered_df = df[
@@ -194,7 +194,7 @@ with demo:
194
  with gr.Row():
195
  model1_column = gr.CheckboxGroup(
196
  label="Evaluation Metrics",
197
- choices=['Pre-ASR', 'Post-ASR','FID','Clip-score'],
198
  interactive=True,
199
  elem_id="column-select",
200
  )
 
158
  always_here_cols = ['Unlearned_Methods']
159
 
160
  # We use COLS to maintain sorting
161
+ all_columns =['Pre-ASR','Post-ASR','FID','CLIP-Score']
162
 
163
  if (len(columns_1)) == 0:
164
  filtered_df = df[
 
194
  with gr.Row():
195
  model1_column = gr.CheckboxGroup(
196
  label="Evaluation Metrics",
197
+ choices=['Pre-ASR', 'Post-ASR','FID','CLIP-score'],
198
  interactive=True,
199
  elem_id="column-select",
200
  )