Spaces:
Sleeping
Sleeping
[Update]Change app.py
Browse files
app.py
CHANGED
@@ -64,7 +64,7 @@ def restart_space():
|
|
64 |
|
65 |
raw_data = dummydf()
|
66 |
methods = list(set(raw_data['Method']))
|
67 |
-
metrics = ["
|
68 |
|
69 |
def update_table(
|
70 |
hidden_df: pd.DataFrame,
|
@@ -129,11 +129,18 @@ with demo:
|
|
129 |
)
|
130 |
with gr.Row():
|
131 |
model1_column = gr.CheckboxGroup(
|
132 |
-
label="
|
133 |
choices=methods,
|
134 |
interactive=True,
|
135 |
elem_id="column-select",
|
136 |
)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
137 |
# with gr.Column(min_width=320):
|
138 |
with gr.Row():
|
139 |
shown_columns_1 = gr.CheckboxGroup(
|
|
|
64 |
|
65 |
raw_data = dummydf()
|
66 |
methods = list(set(raw_data['Method']))
|
67 |
+
metrics = ["ESD","FMN", "AC", "UCE", "SLD"]
|
68 |
|
69 |
def update_table(
|
70 |
hidden_df: pd.DataFrame,
|
|
|
129 |
)
|
130 |
with gr.Row():
|
131 |
model1_column = gr.CheckboxGroup(
|
132 |
+
label="Attacking Method",
|
133 |
choices=methods,
|
134 |
interactive=True,
|
135 |
elem_id="column-select",
|
136 |
)
|
137 |
+
with gr.Row():
|
138 |
+
model1_column = gr.CheckboxGroup(
|
139 |
+
label="Unlearning Methods",
|
140 |
+
choices=["ESD","FMN", "AC", "UCE", "SLD"],
|
141 |
+
interactive=True,
|
142 |
+
elem_id="column-select",
|
143 |
+
)
|
144 |
# with gr.Column(min_width=320):
|
145 |
with gr.Row():
|
146 |
shown_columns_1 = gr.CheckboxGroup(
|