Spaces:
Sleeping
Sleeping
[Update]sett CheckboxGroup value string
Browse files
app.py
CHANGED
@@ -63,7 +63,7 @@ def restart_space():
|
|
63 |
# ) = get_evaluation_queue_df(EVAL_REQUESTS_PATH, EVAL_COLS)
|
64 |
|
65 |
raw_data = dummydf()
|
66 |
-
methods = list(set(
|
67 |
metrics = ["Chruch","Parachute","Tench","Garbage Turch","Van Gogh","Violence","Illegal Activity","Nudity"]
|
68 |
|
69 |
def update_table(
|
@@ -130,6 +130,7 @@ with demo:
|
|
130 |
with gr.Row():
|
131 |
model1_column = gr.CheckboxGroup(
|
132 |
label="Unlearning Methods",
|
|
|
133 |
choices=methods,
|
134 |
interactive=True,
|
135 |
elem_id="column-select",
|
|
|
63 |
# ) = get_evaluation_queue_df(EVAL_REQUESTS_PATH, EVAL_COLS)
|
64 |
|
65 |
raw_data = dummydf()
|
66 |
+
methods = list(set(raw_data['Method']))
|
67 |
metrics = ["Chruch","Parachute","Tench","Garbage Turch","Van Gogh","Violence","Illegal Activity","Nudity"]
|
68 |
|
69 |
def update_table(
|
|
|
130 |
with gr.Row():
|
131 |
model1_column = gr.CheckboxGroup(
|
132 |
label="Unlearning Methods",
|
133 |
+
value = str,
|
134 |
choices=methods,
|
135 |
interactive=True,
|
136 |
elem_id="column-select",
|