Spaces:
Runtime error
Runtime error
update app.py
Browse files
app.py
CHANGED
@@ -265,7 +265,7 @@ garm_list_path = [os.path.join(example_path,"cloth",garm) for garm in garm_list]
|
|
265 |
image_blocks = gr.Blocks(css="style.css").queue()
|
266 |
with image_blocks as demo:
|
267 |
gr.Markdown("## IDM-VTON πππ")
|
268 |
-
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). Remeber to upload human photo and select garment")
|
269 |
with gr.Row():
|
270 |
with gr.Column():
|
271 |
# imgs = gr.ImageEditor(sources='upload', type="pil", label='Human. Mask with pen or use auto-masking', interactive=True)
|
@@ -273,7 +273,7 @@ with image_blocks as demo:
|
|
273 |
garm_img = gr.Image(label="Garment", sources='upload', type="pil")
|
274 |
with gr.Row(elem_id="prompt-container"):
|
275 |
with gr.Row():
|
276 |
-
prompt = gr.Textbox(placeholder="Description of garment ex)
|
277 |
example = gr.Examples(
|
278 |
inputs=garm_img,
|
279 |
examples_per_page=8,
|
|
|
265 |
image_blocks = gr.Blocks(css="style.css").queue()
|
266 |
with image_blocks as demo:
|
267 |
gr.Markdown("## IDM-VTON πππ")
|
268 |
+
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). Remeber to upload human photo and select garment, and get the best result you want")
|
269 |
with gr.Row():
|
270 |
with gr.Column():
|
271 |
# imgs = gr.ImageEditor(sources='upload', type="pil", label='Human. Mask with pen or use auto-masking', interactive=True)
|
|
|
273 |
garm_img = gr.Image(label="Garment", sources='upload', type="pil")
|
274 |
with gr.Row(elem_id="prompt-container"):
|
275 |
with gr.Row():
|
276 |
+
prompt = gr.Textbox(placeholder="Description of garment ex) Neck T-shirts", show_label=False, elem_id="prompt")
|
277 |
example = gr.Examples(
|
278 |
inputs=garm_img,
|
279 |
examples_per_page=8,
|