Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -36,11 +36,12 @@ def virtual_tryon(person_path, garment_path):
|
|
36 |
|
37 |
# 5) Gradio UI
|
38 |
with gr.Blocks() as demo:
|
39 |
-
gr.Markdown("##
|
40 |
with gr.Row():
|
41 |
src = gr.Image(sources="upload", type="filepath", label="Person Image")
|
42 |
ref = gr.Image(sources="upload", type="filepath", label="Garment Image")
|
43 |
-
|
|
|
44 |
btn = gr.Button("Generate")
|
45 |
btn.click(virtual_tryon, [src, ref], out)
|
46 |
|
|
|
36 |
|
37 |
# 5) Gradio UI
|
38 |
with gr.Blocks() as demo:
|
39 |
+
gr.Markdown("## V_TRY DEMO")
|
40 |
with gr.Row():
|
41 |
src = gr.Image(sources="upload", type="filepath", label="Person Image")
|
42 |
ref = gr.Image(sources="upload", type="filepath", label="Garment Image")
|
43 |
+
with gr.column()
|
44 |
+
out = gr.Image(type="filepath", label="Result", )
|
45 |
btn = gr.Button("Generate")
|
46 |
btn.click(virtual_tryon, [src, ref], out)
|
47 |
|