Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -137,25 +137,25 @@ with gr.Blocks(css=css, fill_height=True) as demo:
|
|
137 |
controlnet_checkbox = gr.Checkbox(
|
138 |
label="ControlNet",
|
139 |
)
|
140 |
-
with gr.Group(visible=False) as controlnet_params:
|
141 |
-
|
142 |
-
|
143 |
-
|
144 |
-
|
145 |
-
|
146 |
-
|
147 |
-
|
148 |
-
|
149 |
-
|
150 |
-
|
151 |
-
|
152 |
-
|
153 |
-
|
154 |
-
controlnet_checkbox.change(
|
155 |
-
|
156 |
-
|
157 |
-
|
158 |
-
)
|
159 |
|
160 |
with gr.Accordion("Optional Settings", open=False):
|
161 |
|
|
|
137 |
controlnet_checkbox = gr.Checkbox(
|
138 |
label="ControlNet",
|
139 |
)
|
140 |
+
# with gr.Group(visible=False) as controlnet_params:
|
141 |
+
# control_strength = gr.Slider(
|
142 |
+
# label="ControlNet conditioning scale",
|
143 |
+
# minimum=0.0,
|
144 |
+
# maximum=1.0,
|
145 |
+
# step=0.01,
|
146 |
+
# value=1.0,
|
147 |
+
# )
|
148 |
+
# control_mode = gr.Dropdown(
|
149 |
+
# label="ControlNet mode",
|
150 |
+
# choices=["edge_detection", "other"],
|
151 |
+
# value="edge_detection",
|
152 |
+
# max_choices=1
|
153 |
+
# )
|
154 |
+
# controlnet_checkbox.change(
|
155 |
+
# controlnet_params,
|
156 |
+
# inputs=controlnet_checkbox,
|
157 |
+
# outputs=controlnet_params
|
158 |
+
# )
|
159 |
|
160 |
with gr.Accordion("Optional Settings", open=False):
|
161 |
|