Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -641,7 +641,8 @@ with gr.Blocks(css=css) as demo:
|
|
641 |
control_image = gr.Image(label="Upload Control Net Image")
|
642 |
|
643 |
use_control_net.change(
|
644 |
-
fn=lambda x: gr.Row.update(visible=x),
|
|
|
645 |
inputs=use_control_net,
|
646 |
outputs=control_net_options
|
647 |
)
|
@@ -687,7 +688,8 @@ with gr.Blocks(css=css) as demo:
|
|
687 |
ip_adapter_image = gr.Image(label="Upload IP_Adapter Image")
|
688 |
|
689 |
use_ip_adapter.change(
|
690 |
-
fn=lambda x: gr.Row.update(visible=x),
|
|
|
691 |
inputs=use_ip_adapter,
|
692 |
outputs=ip_adapter_options
|
693 |
)
|
|
|
641 |
control_image = gr.Image(label="Upload Control Net Image")
|
642 |
|
643 |
use_control_net.change(
|
644 |
+
#fn=lambda x: gr.Row.update(visible=x),
|
645 |
+
fn=lambda x: gr.update(visible=x),
|
646 |
inputs=use_control_net,
|
647 |
outputs=control_net_options
|
648 |
)
|
|
|
688 |
ip_adapter_image = gr.Image(label="Upload IP_Adapter Image")
|
689 |
|
690 |
use_ip_adapter.change(
|
691 |
+
#fn=lambda x: gr.Row.update(visible=x),
|
692 |
+
fn=lambda x: gr.update(visible=x),
|
693 |
inputs=use_ip_adapter,
|
694 |
outputs=ip_adapter_options
|
695 |
)
|