Spaces:
Runtime error
Runtime error
Update diffusion_webui/diffusion_models/controlnet/controlnet_inpaint/controlnet_inpaint_app.py
Browse files
diffusion_webui/diffusion_models/controlnet/controlnet_inpaint/controlnet_inpaint_app.py
CHANGED
@@ -101,8 +101,12 @@ class StableDiffusionControlInpaintNetCannyGenerator:
|
|
101 |
with gr.Row():
|
102 |
with gr.Column():
|
103 |
controlnet_canny_inpaint_image_file = gr.Image(
|
104 |
-
|
105 |
-
|
|
|
|
|
|
|
|
|
106 |
|
107 |
controlnet_canny_inpaint_prompt = gr.Textbox(
|
108 |
lines=1, placeholder="Prompt", show_label=False
|
|
|
101 |
with gr.Row():
|
102 |
with gr.Column():
|
103 |
controlnet_canny_inpaint_image_file = gr.Image(
|
104 |
+
source="upload",
|
105 |
+
tool="sketch",
|
106 |
+
elem_id="image_upload",
|
107 |
+
type="pil",
|
108 |
+
label="Upload",
|
109 |
+
)
|
110 |
|
111 |
controlnet_canny_inpaint_prompt = gr.Textbox(
|
112 |
lines=1, placeholder="Prompt", show_label=False
|