Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
@@ -127,8 +127,12 @@ with block:
|
|
127 |
run_button = gr.Button(value="Run")
|
128 |
|
129 |
with gr.Column():
|
130 |
-
|
|
|
|
|
|
|
131 |
ips = [input_image, prompt, negative_prompt, num_steps, controlnet_conditioning_scale, seed]
|
132 |
-
run_button.click(fn=process, inputs=ips, outputs=[
|
|
|
133 |
|
134 |
block.launch(debug = True)
|
|
|
127 |
run_button = gr.Button(value="Run")
|
128 |
|
129 |
with gr.Column():
|
130 |
+
with gr.Row():
|
131 |
+
pose_image_output = gr.Image(label="Pose Image", type="pil", interactive=False)
|
132 |
+
generated_image_output = gr.Image(label="Generated Image", type="pil", interactive=False)
|
133 |
+
|
134 |
ips = [input_image, prompt, negative_prompt, num_steps, controlnet_conditioning_scale, seed]
|
135 |
+
run_button.click(fn=process, inputs=ips, outputs=[pose_image_output, generated_image_output])
|
136 |
+
|
137 |
|
138 |
block.launch(debug = True)
|