Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -201,6 +201,7 @@ with gr.Blocks(css=css, fill_height=True) as demo:
|
|
201 |
with gr.Row():
|
202 |
controlnet_checkbox = gr.Checkbox(
|
203 |
label="ControlNet",
|
|
|
204 |
)
|
205 |
with gr.Column(visible=False) as controlnet_params:
|
206 |
controlnet_strength = gr.Slider(
|
@@ -234,6 +235,7 @@ with gr.Blocks(css=css, fill_height=True) as demo:
|
|
234 |
with gr.Row():
|
235 |
ip_adapter_checkbox = gr.Checkbox(
|
236 |
label="IPAdapter",
|
|
|
237 |
)
|
238 |
with gr.Column(visible=False) as ip_adapter_params:
|
239 |
ip_adapter_scale = gr.Slider(
|
@@ -295,7 +297,7 @@ with gr.Blocks(css=css, fill_height=True) as demo:
|
|
295 |
controlnet_image,
|
296 |
ip_adapter_checkbox,
|
297 |
ip_adapter_scale,
|
298 |
-
ip_adapter_image
|
299 |
],
|
300 |
outputs=[result],
|
301 |
)
|
|
|
201 |
with gr.Row():
|
202 |
controlnet_checkbox = gr.Checkbox(
|
203 |
label="ControlNet",
|
204 |
+
value=False
|
205 |
)
|
206 |
with gr.Column(visible=False) as controlnet_params:
|
207 |
controlnet_strength = gr.Slider(
|
|
|
235 |
with gr.Row():
|
236 |
ip_adapter_checkbox = gr.Checkbox(
|
237 |
label="IPAdapter",
|
238 |
+
value=False
|
239 |
)
|
240 |
with gr.Column(visible=False) as ip_adapter_params:
|
241 |
ip_adapter_scale = gr.Slider(
|
|
|
297 |
controlnet_image,
|
298 |
ip_adapter_checkbox,
|
299 |
ip_adapter_scale,
|
300 |
+
ip_adapter_image,
|
301 |
],
|
302 |
outputs=[result],
|
303 |
)
|