Spaces:
Sleeping
Sleeping
[Update]Add gr.Markdown
Browse files
app.py
CHANGED
@@ -82,7 +82,7 @@ def update_table(
|
|
82 |
|
83 |
|
84 |
def select_columns(df: pd.DataFrame, columns_1: list, columns_2: list, columns_3: list) -> pd.DataFrame:
|
85 |
-
always_here_cols = ["
|
86 |
|
87 |
# We use COLS to maintain sorting
|
88 |
all_columns = metrics
|
@@ -130,7 +130,7 @@ with demo:
|
|
130 |
)
|
131 |
with gr.Row():
|
132 |
model1_column = gr.CheckboxGroup(
|
133 |
-
label="
|
134 |
choices=methods,
|
135 |
interactive=True,
|
136 |
elem_id="column-select",
|
@@ -169,7 +169,7 @@ with demo:
|
|
169 |
# 1, 100, value=40,
|
170 |
# step=1, label="Attacking Steps", info="Choose between 1 and 100",
|
171 |
# interactive=True,)
|
172 |
-
|
173 |
leaderboard_table = gr.components.Dataframe(
|
174 |
value= raw_data,
|
175 |
elem_id="leaderboard-table",
|
|
|
82 |
|
83 |
|
84 |
def select_columns(df: pd.DataFrame, columns_1: list, columns_2: list, columns_3: list) -> pd.DataFrame:
|
85 |
+
always_here_cols = ["Unlearned Methods"]
|
86 |
|
87 |
# We use COLS to maintain sorting
|
88 |
all_columns = metrics
|
|
|
130 |
)
|
131 |
with gr.Row():
|
132 |
model1_column = gr.CheckboxGroup(
|
133 |
+
label="Unlearned Method",
|
134 |
choices=methods,
|
135 |
interactive=True,
|
136 |
elem_id="column-select",
|
|
|
169 |
# 1, 100, value=40,
|
170 |
# step=1, label="Attacking Steps", info="Choose between 1 and 100",
|
171 |
# interactive=True,)
|
172 |
+
gr.Markdown("### Unlearned Concepts Parachute")
|
173 |
leaderboard_table = gr.components.Dataframe(
|
174 |
value= raw_data,
|
175 |
elem_id="leaderboard-table",
|