xinchen9 commited on
Commit
383ef4f
1 Parent(s): 6d3fc04

[Update]Change app.py

Browse files
Files changed (1) hide show
  1. app.py +9 -2
app.py CHANGED
@@ -64,7 +64,7 @@ def restart_space():
64
 
65
  raw_data = dummydf()
66
  methods = list(set(raw_data['Method']))
67
- metrics = ["Church","Parachute","Tench","Garbage Turch","Van Gogh","Violence","Illegal Activity","Nudity"]
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="Unlearning Methods",
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(