Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
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,
|
| 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("##
|
| 280 |
-
gr.Markdown("
|
| 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)
|