xinchen9 commited on
Commit
2e74883
1 Parent(s): dad270e

[Update]Remove undesirable concepts

Browse files
Files changed (1) hide show
  1. app.py +21 -21
app.py CHANGED
@@ -143,27 +143,27 @@ with demo:
143
  elem_id="column-select",
144
  )
145
  # with gr.Column(min_width=320):
146
- with gr.Row():
147
- shown_columns_1 = gr.CheckboxGroup(
148
- choices=["Church","Parachute","Tench", "Garbage Truck"],
149
- label="Undersirable Objects",
150
- elem_id="column-object",
151
- interactive=True,
152
- )
153
- with gr.Row():
154
- shown_columns_2 = gr.CheckboxGroup(
155
- choices=["Van Gogh"],
156
- label="Undersirable Styles",
157
- elem_id="column-style",
158
- interactive=True,
159
- )
160
- with gr.Row():
161
- shown_columns_3 = gr.CheckboxGroup(
162
- choices=["Violence","Illegal Activity","Nudity"],
163
- label="Undersirable Concepts (Outputs that may be offensive in nature)",
164
- elem_id="column-select",
165
- interactive=True,
166
- )
167
  # with gr.Row():
168
  # shown_columns_4 = gr.Slider(
169
  # 1, 100, value=40,
 
143
  elem_id="column-select",
144
  )
145
  # with gr.Column(min_width=320):
146
+ # with gr.Row():
147
+ # shown_columns_1 = gr.CheckboxGroup(
148
+ # choices=["Church","Parachute","Tench", "Garbage Truck"],
149
+ # label="Undersirable Objects",
150
+ # elem_id="column-object",
151
+ # interactive=True,
152
+ # )
153
+ # with gr.Row():
154
+ # shown_columns_2 = gr.CheckboxGroup(
155
+ # choices=["Van Gogh"],
156
+ # label="Undersirable Styles",
157
+ # elem_id="column-style",
158
+ # interactive=True,
159
+ # )
160
+ # with gr.Row():
161
+ # shown_columns_3 = gr.CheckboxGroup(
162
+ # choices=["Violence","Illegal Activity","Nudity"],
163
+ # label="Undersirable Concepts (Outputs that may be offensive in nature)",
164
+ # elem_id="column-select",
165
+ # interactive=True,
166
+ # )
167
  # with gr.Row():
168
  # shown_columns_4 = gr.Slider(
169
  # 1, 100, value=40,