Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
@@ -83,32 +83,19 @@ def try_on(
|
|
83 |
with gr.Blocks(theme=gr.themes.Soft(), delete_cache=(3600, 3600)) as app:
|
84 |
gr.HTML(
|
85 |
f"""
|
86 |
-
|
87 |
-
<a href="https://texelmoda.com/" target="_blank">
|
88 |
-
<img src="{get_image_base64("images/logo.png")}" title="Texel.Moda" alt="Texel.Moda" style="float: left; margin-right: 10px; margin-left: -10px; border-radius: 10px; max-height: 50px;"/>
|
89 |
-
</a>
|
90 |
-
<h1 style="margin: 0; margin-right: 10px; line-height: 50px; color: #8cecd5; text-transform: uppercase">Virtual Try-On Diffusion</h1>
|
91 |
-
</div>
|
92 |
-
<br/>
|
93 |
-
<p>
|
94 |
-
Virtual Try-On Diffusion [VTON-D] by <a href="https://texelmoda.com/" target="_blank">Texel.Moda</a> is a
|
95 |
-
custom diffusion-based pipeline for fast and flexible multi-modal virtual try-on.
|
96 |
-
Clothing, avatar and background can be specified by reference images or text prompts allowing for clothing
|
97 |
-
transfer, avatar replacement, fashion image generation and other virtual try-on related tasks.
|
98 |
"""
|
99 |
)
|
100 |
|
101 |
if SHOW_RAPIDAPI_LINK:
|
102 |
gr.Button(
|
103 |
-
|
104 |
-
link="https://rapidapi.com/texelmoda-texelmoda-apis/api/try-on-diffusion",
|
105 |
-
icon="https://files.readme.io/9336831-small-rapid-logo-favicon.png",
|
106 |
)
|
107 |
|
108 |
gr.HTML(
|
109 |
"""
|
110 |
<center>
|
111 |
-
|
112 |
</center>
|
113 |
"""
|
114 |
)
|
|
|
83 |
with gr.Blocks(theme=gr.themes.Soft(), delete_cache=(3600, 3600)) as app:
|
84 |
gr.HTML(
|
85 |
f"""
|
86 |
+
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
87 |
"""
|
88 |
)
|
89 |
|
90 |
if SHOW_RAPIDAPI_LINK:
|
91 |
gr.Button(
|
92 |
+
|
|
|
|
|
93 |
)
|
94 |
|
95 |
gr.HTML(
|
96 |
"""
|
97 |
<center>
|
98 |
+
|
99 |
</center>
|
100 |
"""
|
101 |
)
|