TalHach61 commited on
Commit
c80757c
1 Parent(s): 0f9e020

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +6 -2
app.py CHANGED
@@ -127,8 +127,12 @@ with block:
127
  run_button = gr.Button(value="Run")
128
 
129
  with gr.Column():
130
- result_gallery = gr.Gallery(label='Output', show_label=False, elem_id="gallery", columns=[1])
 
 
 
131
  ips = [input_image, prompt, negative_prompt, num_steps, controlnet_conditioning_scale, seed]
132
- run_button.click(fn=process, inputs=ips, outputs=[result_gallery])
 
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)