Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -197,13 +197,7 @@ with demo:
|
|
| 197 |
interactive=True,
|
| 198 |
elem_id="column-select",
|
| 199 |
)
|
| 200 |
-
|
| 201 |
-
# open_query = gr.CheckboxGroup(
|
| 202 |
-
# label="Model",
|
| 203 |
-
# choices=["SD V1.4","SD V1.5", "SD V2.0"],
|
| 204 |
-
# interactive=True,
|
| 205 |
-
# elem_id="column-select",
|
| 206 |
-
# )
|
| 207 |
# with gr.Column(min_width=320):
|
| 208 |
# with gr.Row():
|
| 209 |
# shown_columns_1 = gr.CheckboxGroup(
|
|
@@ -231,6 +225,10 @@ with demo:
|
|
| 231 |
# 1, 100, value=40,
|
| 232 |
# step=1, label="Attacking Steps", info="Choose between 1 and 100",
|
| 233 |
# interactive=True,)
|
|
|
|
|
|
|
|
|
|
|
|
|
| 234 |
gr.Markdown("### Unlearned Concepts Parachute")
|
| 235 |
leaderboard_table = gr.components.Dataframe(
|
| 236 |
value = df_results,
|
|
|
|
| 197 |
interactive=True,
|
| 198 |
elem_id="column-select",
|
| 199 |
)
|
| 200 |
+
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 201 |
# with gr.Column(min_width=320):
|
| 202 |
# with gr.Row():
|
| 203 |
# shown_columns_1 = gr.CheckboxGroup(
|
|
|
|
| 225 |
# 1, 100, value=40,
|
| 226 |
# step=1, label="Attacking Steps", info="Choose between 1 and 100",
|
| 227 |
# interactive=True,)
|
| 228 |
+
for i in range(len(files)):
|
| 229 |
+
if files[i] == "church":
|
| 230 |
+
name = "### Unlearned Concepts "+" Church"
|
| 231 |
+
gr.MarkDown(name)
|
| 232 |
gr.Markdown("### Unlearned Concepts Parachute")
|
| 233 |
leaderboard_table = gr.components.Dataframe(
|
| 234 |
value = df_results,
|