Spaces:
Runtime error
Runtime error
[Update]correct for click selection
Browse files
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','
|
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','
|
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 |
)
|