Upload app.py
Browse files
app.py
CHANGED
@@ -407,8 +407,8 @@ with gr.Blocks(theme='Nymbo/Nymbo_Theme', fill_width=True, css=css) as app:
|
|
407 |
cn_res[i] = gr.Slider(label=f"ControlNet {int(i+1)} Preprocess resolution", minimum=128, maximum=512, value=384, step=1)
|
408 |
cn_num[i] = gr.Number(i, visible=False)
|
409 |
with gr.Row():
|
410 |
-
cn_image_ref[i] = gr.Image(label="Image Reference", type="pil", format="png", height=256, sources=["upload", "clipboard"],
|
411 |
-
cn_image[i] = gr.Image(label="Control Image", type="pil", format="png", height=256, show_share_button=False,
|
412 |
|
413 |
gallery.select(
|
414 |
update_selection,
|
|
|
407 |
cn_res[i] = gr.Slider(label=f"ControlNet {int(i+1)} Preprocess resolution", minimum=128, maximum=512, value=384, step=1)
|
408 |
cn_num[i] = gr.Number(i, visible=False)
|
409 |
with gr.Row():
|
410 |
+
cn_image_ref[i] = gr.Image(label="Image Reference", type="pil", format="png", height=256, sources=["upload", "clipboard"], show_share_button=False)
|
411 |
+
cn_image[i] = gr.Image(label="Control Image", type="pil", format="png", height=256, show_share_button=False, interactive=False)
|
412 |
|
413 |
gallery.select(
|
414 |
update_selection,
|