Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -24,7 +24,7 @@ with gr.Blocks() as demo:
|
|
24 |
canny_output = gr.Image(label="Output Image")
|
25 |
submit_btn = gr.Button(value = "Submit")
|
26 |
canny_inputs = [prompt_input_canny, negative_prompt_canny, canny_input]
|
27 |
-
submit_btn.click(fn=infer_canny, inputs=canny_inputs, outputs=[
|
28 |
|
29 |
with gr.Tab("ControlNet with Semantic Segmentation"):
|
30 |
prompt_input_seg = gr.Textbox(label="Prompt")
|
|
|
24 |
canny_output = gr.Image(label="Output Image")
|
25 |
submit_btn = gr.Button(value = "Submit")
|
26 |
canny_inputs = [prompt_input_canny, negative_prompt_canny, canny_input]
|
27 |
+
submit_btn.click(fn=infer_canny, inputs=canny_inputs, outputs=[canny_output])
|
28 |
|
29 |
with gr.Tab("ControlNet with Semantic Segmentation"):
|
30 |
prompt_input_seg = gr.Textbox(label="Prompt")
|