Spaces:
Sleeping
Sleeping
[Update]Add object and style bottom
Browse files
app.py
CHANGED
@@ -147,14 +147,29 @@ with demo:
|
|
147 |
show_label=False,
|
148 |
elem_id="search-bar",
|
149 |
)
|
150 |
-
with gr.Column(min_width=320):
|
151 |
-
|
152 |
-
|
153 |
-
|
154 |
-
|
155 |
-
|
156 |
-
|
157 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
158 |
# with gr.Row():
|
159 |
# shown_columns = gr.CheckboxGroup(
|
160 |
# choices=[
|
|
|
147 |
show_label=False,
|
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=["Violence","Illegal Activity","Nudity"],
|
154 |
+
label="Undersirable concepts (Outputs that may be offensive in nature)",
|
155 |
+
elem_id="column-object",
|
156 |
+
interactive=True,
|
157 |
+
)
|
158 |
+
with gr.Row():
|
159 |
+
shown_columns_1 = gr.CheckboxGroup(
|
160 |
+
choices=["Violence","Illegal Activity","Nudity"],
|
161 |
+
label="Undersirable concepts (Outputs that may be offensive in nature)",
|
162 |
+
elem_id="column-stype",
|
163 |
+
interactive=True,
|
164 |
+
)
|
165 |
+
with gr.Row():
|
166 |
+
shown_columns_1 = 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(
|
175 |
# choices=[
|