Update app.py
Browse files
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.
|
| 42 |
-
|
| 43 |
-
|
| 44 |
-
|
| 45 |
-
|
| 46 |
-
|
| 47 |
-
|
| 48 |
-
|
| 49 |
-
|
|
|
|
|
|
|
| 50 |
|
| 51 |
-
|
| 52 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 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
|