Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -260,8 +260,9 @@ for ex_human in human_list_path:
|
|
260 |
|
261 |
image_blocks = gr.Blocks().queue()
|
262 |
with image_blocks as demo:
|
263 |
-
|
264 |
-
|
|
|
265 |
with gr.Row():
|
266 |
with gr.Column():
|
267 |
imgs = gr.ImageEditor(sources='upload', type="pil", label='Human. Mask with pen or use auto-masking', interactive=True)
|
@@ -280,7 +281,7 @@ with image_blocks as demo:
|
|
280 |
garm_img = gr.Image(label="Garment", sources='upload', type="pil")
|
281 |
with gr.Row(elem_id="prompt-container"):
|
282 |
with gr.Row():
|
283 |
-
prompt = gr.Textbox(placeholder="Description of garment
|
284 |
example = gr.Examples(
|
285 |
inputs=garm_img,
|
286 |
examples_per_page=8,
|
|
|
260 |
|
261 |
image_blocks = gr.Blocks().queue()
|
262 |
with image_blocks as demo:
|
263 |
+
gr.Markdown("## Soccer Jersey Try-On β½π")
|
264 |
+
gr.Markdown("Experience the excitement of the Euro and Copa America 2024 by virtually trying on the jerseys of the last 4 teams standing in each competition. Upload your photo to see how you look in the jerseys of your favorite teams, and share your photos on social media to show your support!")
|
265 |
+
gr.Markdown("Credits to the [IDM-VTON](https://huggingface.co/spaces/yisol/IDM-VTON) project for the inspiration and source code.")
|
266 |
with gr.Row():
|
267 |
with gr.Column():
|
268 |
imgs = gr.ImageEditor(sources='upload', type="pil", label='Human. Mask with pen or use auto-masking', interactive=True)
|
|
|
281 |
garm_img = gr.Image(label="Garment", sources='upload', type="pil")
|
282 |
with gr.Row(elem_id="prompt-container"):
|
283 |
with gr.Row():
|
284 |
+
prompt = gr.Textbox(placeholder="Description of garment (Soccer jersey)", show_label=False, elem_id="prompt")
|
285 |
example = gr.Examples(
|
286 |
inputs=garm_img,
|
287 |
examples_per_page=8,
|