Spaces:
Sleeping
Sleeping
[Update]Add three types unlearning
Browse files
app.py
CHANGED
@@ -148,27 +148,27 @@ with demo:
|
|
148 |
elem_id="search-bar",
|
149 |
)
|
150 |
# with gr.Column(min_width=320):
|
151 |
-
|
152 |
-
|
153 |
-
|
154 |
-
|
155 |
-
|
156 |
-
|
157 |
-
|
158 |
-
|
159 |
-
|
160 |
-
|
161 |
-
|
162 |
-
|
163 |
-
|
164 |
-
|
165 |
-
|
166 |
-
|
167 |
-
|
168 |
-
|
169 |
-
|
170 |
-
|
171 |
-
|
172 |
|
173 |
# with gr.Row():
|
174 |
# shown_columns = gr.CheckboxGroup(
|
|
|
148 |
elem_id="search-bar",
|
149 |
)
|
150 |
# with gr.Column(min_width=320):
|
151 |
+
with gr.Row():
|
152 |
+
shown_columns_1 = gr.CheckboxGroup(
|
153 |
+
choices=["Church","Parachute","Tench", "Garbage Truck"],
|
154 |
+
label="Undersirable Objects",
|
155 |
+
elem_id="column-object",
|
156 |
+
interactive=True,
|
157 |
+
)
|
158 |
+
with gr.Row():
|
159 |
+
shown_columns_2 = gr.CheckboxGroup(
|
160 |
+
choices=["Van Gogh"],
|
161 |
+
label="Undersirable Styles",
|
162 |
+
elem_id="column-style",
|
163 |
+
interactive=True,
|
164 |
+
)
|
165 |
+
with gr.Row():
|
166 |
+
shown_columns_3 = gr.CheckboxGroup(
|
167 |
+
choices=["Violence","Illegal Activity","Nudity"],
|
168 |
+
label="Undersirable Concepts (Outputs that may be offensive in nature)",
|
169 |
+
elem_id="column-select",
|
170 |
+
interactive=True,
|
171 |
+
)
|
172 |
|
173 |
# with gr.Row():
|
174 |
# shown_columns = gr.CheckboxGroup(
|