Roopansh commited on
Commit
8672440
ยท
verified ยท
1 Parent(s): 56fdf03

Update without Masked Output

Browse files
Files changed (1) hide show
  1. app.py +4 -3
app.py CHANGED
@@ -285,9 +285,10 @@ with image_blocks as demo:
285
  inputs=garm_img,
286
  examples_per_page=8,
287
  examples=garm_list_path)
288
- with gr.Column():
289
  # image_out = gr.Image(label="Output", elem_id="output-img", height=400)
290
- masked_img = gr.Image(label="Masked image output", elem_id="masked-img",show_share_button=False)
 
291
  with gr.Column():
292
  # image_out = gr.Image(label="Output", elem_id="output-img", height=400)
293
  image_out = gr.Image(label="Output", elem_id="output-img",show_share_button=False)
@@ -304,7 +305,7 @@ with image_blocks as demo:
304
 
305
 
306
 
307
- try_button.click(fn=start_tryon, inputs=[imgs, garm_img, prompt, is_checked,is_checked_crop, denoise_steps, seed], outputs=[image_out,masked_img], api_name='tryon')
308
 
309
 
310
 
 
285
  inputs=garm_img,
286
  examples_per_page=8,
287
  examples=garm_list_path)
288
+ # with gr.Column():
289
  # image_out = gr.Image(label="Output", elem_id="output-img", height=400)
290
+ # masked_img = gr.Image(label="Masked image output", elem_id="masked-img",show_share_button=False)
291
+
292
  with gr.Column():
293
  # image_out = gr.Image(label="Output", elem_id="output-img", height=400)
294
  image_out = gr.Image(label="Output", elem_id="output-img",show_share_button=False)
 
305
 
306
 
307
 
308
+ try_button.click(fn=start_tryon, inputs=[imgs, garm_img, prompt, is_checked,is_checked_crop, denoise_steps, seed], outputs=[image_out], api_name='tryon')
309
 
310
 
311