Significant commited on
Commit
020211c
Β·
verified Β·
1 Parent(s): fe0dc0b

previous works

Browse files
Files changed (1) hide show
  1. app.py +4 -4
app.py CHANGED
@@ -493,9 +493,9 @@ with image_blocks as demo:
493
  with gr.Row():
494
  prompt = gr.Textbox(placeholder="Description of garment ex) Short Sleeve Round Neck T-shirts", show_label=False, elem_id="prompt")
495
 
496
- with gr.Column():
497
- # image_out = gr.Image(label="Output", elem_id="output-img", height=400)
498
- masked_img = gr.Image(label="Masked image output", elem_id="masked-img",show_share_button=False)
499
 
500
  with gr.Column():
501
  # image_out = gr.Image(label="Output", elem_id="output-img", height=400)
@@ -513,7 +513,7 @@ with image_blocks as demo:
513
 
514
 
515
 
516
- 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')
517
 
518
  image_blocks.launch(auth=(HF_TEST_USER_NAME, HF_PASS), show_error=True)
519
  # image_blocks.launch(show_error=True)
 
493
  with gr.Row():
494
  prompt = gr.Textbox(placeholder="Description of garment ex) Short Sleeve Round Neck T-shirts", show_label=False, elem_id="prompt")
495
 
496
+ # with gr.Column():
497
+ # # image_out = gr.Image(label="Output", elem_id="output-img", height=400)
498
+ # masked_img = gr.Image(label="Masked image output", elem_id="masked-img",show_share_button=False)
499
 
500
  with gr.Column():
501
  # image_out = gr.Image(label="Output", elem_id="output-img", height=400)
 
513
 
514
 
515
 
516
+ 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')
517
 
518
  image_blocks.launch(auth=(HF_TEST_USER_NAME, HF_PASS), show_error=True)
519
  # image_blocks.launch(show_error=True)