Anurag181011 commited on
Commit
4b99951
·
verified ·
1 Parent(s): 21e008f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -16
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
- <div style="width: 100%; background-color: #001537; border-radius: 10px; padding-left: 10px">
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
- value="Check out the API @ RapidAPI.com",
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
- <a href="https://huggingface.co/spaces/texelmoda/try-on-diffusion/blob/main/docs/API.md">API Documentation</a>
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
  )