Spaces:
Sleeping
Sleeping
George Krupenchenkov
commited on
Commit
·
d20cd4b
1
Parent(s):
1058bb6
add hw6 markups
Browse files
app.py
CHANGED
@@ -190,13 +190,13 @@ with gr.Blocks(css=css) as demo:
|
|
190 |
lora_enable = gr.Checkbox(label="Use LORA", value=True)
|
191 |
|
192 |
with gr.Column():
|
193 |
-
controlnet_enable = gr.Checkbox(label="Enable ControlNet")
|
194 |
with gr.Accordion("ControlNet Settings", visible=False) as controlnet_accordion:
|
195 |
control_mode = gr.Dropdown(controlnet_modes, label="Control Mode", value="canny")
|
196 |
control_strength = gr.Slider(0.0, 2.0, value=1.0, step=0.1, label="Control Strength")
|
197 |
control_image = gr.Image(label="Control Image", type="pil")
|
198 |
|
199 |
-
ip_adapter_enable = gr.Checkbox(label="Enable IP-Adapter")
|
200 |
with gr.Accordion("IP-Adapter Settings", visible=False) as ipadapter_accordion:
|
201 |
ip_adapter_scale = gr.Slider(0, 1, value=0.5, label="IP-Adapter Scale")
|
202 |
ip_image = gr.Image(label="Reference Image", type="pil")
|
|
|
190 |
lora_enable = gr.Checkbox(label="Use LORA", value=True)
|
191 |
|
192 |
with gr.Column():
|
193 |
+
controlnet_enable = gr.Checkbox(label="Enable ControlNet", value=False)
|
194 |
with gr.Accordion("ControlNet Settings", visible=False) as controlnet_accordion:
|
195 |
control_mode = gr.Dropdown(controlnet_modes, label="Control Mode", value="canny")
|
196 |
control_strength = gr.Slider(0.0, 2.0, value=1.0, step=0.1, label="Control Strength")
|
197 |
control_image = gr.Image(label="Control Image", type="pil")
|
198 |
|
199 |
+
ip_adapter_enable = gr.Checkbox(label="Enable IP-Adapter", value=False)
|
200 |
with gr.Accordion("IP-Adapter Settings", visible=False) as ipadapter_accordion:
|
201 |
ip_adapter_scale = gr.Slider(0, 1, value=0.5, label="IP-Adapter Scale")
|
202 |
ip_image = gr.Image(label="Reference Image", type="pil")
|