Yao211 commited on
Commit
a37df92
Β·
verified Β·
1 Parent(s): 88bd850

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +18 -11
app.py CHANGED
@@ -38,18 +38,25 @@ def like_button_interface(request: gr.Request):
38
 
39
  # Create the Gradio interface
40
  with gr.Blocks(css=css, title=f"{company_info['name']} Virtual Try-On", theme=gr.themes.Ocean()) as demo:
41
- gr.Markdown(f"""
42
- <div style="display: flex; align-items: center;">
43
- <img src="https://avatars.githubusercontent.com/u/211682198?s=200&v=4" style="width: 80px; margin-right: 20px;"/>
44
- <div>
45
- <h1 style="margin-bottom: 0;">{company_info['name']} Virtual Try-On πŸ‘• πŸ‘—</h1>
46
- <p style="margin-top: 0; color: #636e72;">Try on complete outfits with our AI-powered virtual try-on technology</p>
47
- </div>
48
- </div>
49
- """)
 
 
50
 
51
- # Instructions
52
- gr.HTML(create_instructions_html())
 
 
 
 
 
53
 
54
  with gr.Row(elem_id="col-container"):
55
  # Step 1: Person Image
 
38
 
39
  # Create the Gradio interface
40
  with gr.Blocks(css=css, title=f"{company_info['name']} Virtual Try-On", theme=gr.themes.Ocean()) as demo:
41
+ with gr.Row():
42
+ with gr.Column(0.7):
43
+ gr.Markdown(f"""
44
+ <div style="display: flex; align-items: center;">
45
+ <img src="https://avatars.githubusercontent.com/u/211682198?s=200&v=4" style="width: 80px; margin-right: 20px;"/>
46
+ <div>
47
+ <h1 style="margin-bottom: 0;">{company_info['name']} Virtual Try-On πŸ‘• πŸ‘—</h1>
48
+ <p style="margin-top: 0; color: #636e72;">Try on complete outfits with our AI-powered virtual try-on technology</p>
49
+ </div>
50
+ </div>
51
+ """)
52
 
53
+ gr.HTML(create_instructions_html())
54
+ with gr.Column(0.3):
55
+ gr.Markdown(f"""
56
+ <div style="display: flex; align-items: center;">
57
+ <img src="https://miragic.ai/products/qrcode-vto.png" style="width: 450px; margin-left: 100px;"/>
58
+ </div>
59
+ """)
60
 
61
  with gr.Row(elem_id="col-container"):
62
  # Step 1: Person Image