Eaglebelt commited on
Commit
f83cf96
·
verified ·
1 Parent(s): 82fc6ac

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -2
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("## Leffa Virtual Try-On")
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
- out = gr.Image(type="filepath", label="Result", )
 
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