Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -264,7 +264,9 @@ with image_blocks as demo:
|
|
| 264 |
# gr.Markdown("Virtual Try-on with your image and garment image. Check out the [source codes](https://github.com/yisol/IDM-VTON) and the [model](https://huggingface.co/yisol/IDM-VTON)")
|
| 265 |
with gr.Row():
|
| 266 |
with gr.Column():
|
| 267 |
-
imgs = gr.
|
|
|
|
|
|
|
| 268 |
with gr.Row():
|
| 269 |
is_checked = gr.Checkbox(label="Yes", info="Use auto-generated mask (Takes 5 seconds)",value=True)
|
| 270 |
with gr.Row():
|
|
|
|
| 264 |
# gr.Markdown("Virtual Try-on with your image and garment image. Check out the [source codes](https://github.com/yisol/IDM-VTON) and the [model](https://huggingface.co/yisol/IDM-VTON)")
|
| 265 |
with gr.Row():
|
| 266 |
with gr.Column():
|
| 267 |
+
imgs = gr.Image(sources='clipboard', type="filepath", label="",
|
| 268 |
+
value=None)
|
| 269 |
+
# imgs = gr.ImageEditor(sources='upload', type="pil", label='Human. Mask with pen or use auto-masking', interactive=True)
|
| 270 |
with gr.Row():
|
| 271 |
is_checked = gr.Checkbox(label="Yes", info="Use auto-generated mask (Takes 5 seconds)",value=True)
|
| 272 |
with gr.Row():
|