lixiang46
commited on
Commit
·
537454a
1
Parent(s):
bd8fedc
update
Browse files
app.py
CHANGED
|
@@ -153,14 +153,14 @@ with gr.Blocks(css=css) as Tryon:
|
|
| 153 |
|
| 154 |
try_button.click(fn=start_tryon, inputs=[imgs, garm_img, seed, randomize_seed], outputs=[image_out, seed_used, result_info], api_name='tryon')
|
| 155 |
|
| 156 |
-
gr.HTML("""
|
| 157 |
-
<div style="display: flex; justify-content: center; align-items: center; text-align: center;">
|
| 158 |
-
<div>
|
| 159 |
-
<h2>Virtual try-on examples in pairs of person and garment images.</h2>
|
| 160 |
-
</div>
|
| 161 |
-
</div>
|
| 162 |
-
""")
|
| 163 |
with gr.Column(elem_id = "col-showcase"):
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 164 |
show_case = gr.Examples(
|
| 165 |
examples=[
|
| 166 |
["assets/examples/model2.png", "assets/examples/garment2.png", "assets/examples/result2.png"],
|
|
|
|
| 153 |
|
| 154 |
try_button.click(fn=start_tryon, inputs=[imgs, garm_img, seed, randomize_seed], outputs=[image_out, seed_used, result_info], api_name='tryon')
|
| 155 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 156 |
with gr.Column(elem_id = "col-showcase"):
|
| 157 |
+
gr.HTML("""
|
| 158 |
+
<div style="display: flex; justify-content: center; align-items: center; text-align: center;">
|
| 159 |
+
<div>
|
| 160 |
+
<h2>Virtual try-on examples in pairs of person and garment images.</h2>
|
| 161 |
+
</div>
|
| 162 |
+
</div>
|
| 163 |
+
""")
|
| 164 |
show_case = gr.Examples(
|
| 165 |
examples=[
|
| 166 |
["assets/examples/model2.png", "assets/examples/garment2.png", "assets/examples/result2.png"],
|