patrickligardes commited on
Commit
6525a88
β€’
1 Parent(s): 035126b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -154,7 +154,7 @@ def start_tryon(dict,garm_img,garment_des,is_checked,is_checked_crop,denoise_ste
154
  crop_size = cropped_img.size
155
  human_img = cropped_img.resize((768, 1024))
156
  else:
157
- human_img = human_img_orig.resize((768,1200))
158
  else:
159
  human_img = human_img_orig.resize((768,1024))
160
 
@@ -276,8 +276,8 @@ for ex_human in human_list_path:
276
 
277
  image_blocks = gr.Blocks().queue()
278
  with image_blocks as demo:
279
- gr.Markdown("## IDM-VTON-2.1")
280
- gr.Markdown("Virtual Try-on with your image and garment image.")
281
  with gr.Row():
282
  with gr.Column():
283
  imgs = gr.ImageEditor(sources='upload', type="pil", label='Human. Mask with pen or use auto-masking', interactive=True)
 
154
  crop_size = cropped_img.size
155
  human_img = cropped_img.resize((768, 1024))
156
  else:
157
+ human_img = human_img_orig.resize((768,1024))
158
  else:
159
  human_img = human_img_orig.resize((768,1024))
160
 
 
276
 
277
  image_blocks = gr.Blocks().queue()
278
  with image_blocks as demo:
279
+ gr.Markdown("## VirtualFit")
280
+ gr.Markdown("VirtualFIT Demo")
281
  with gr.Row():
282
  with gr.Column():
283
  imgs = gr.ImageEditor(sources='upload', type="pil", label='Human. Mask with pen or use auto-masking', interactive=True)