tonyassi commited on
Commit
8efc020
·
verified ·
1 Parent(s): 54c55b4

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +20 -12
app.py CHANGED
@@ -160,19 +160,27 @@ with gr.Blocks(title="Image Face Swap") as demo:
160
  elem_id="hero-md"
161
  )
162
 
163
- # API CTA
164
  gr.HTML(
165
- """
166
- <div class="api-cta-wrap">
167
- <a class="api-cta-hero"
168
- href="https://www.face-swap.co/api?utm_source=hfspace_faceswap&utm_medium=hero_api_new"
169
- target="_blank" rel="noopener" aria-label="Face Swap API">
170
- <span class="new">NEW</span>
171
- <span class="txt">Face Swap API</span>
172
- <span class="chev">↗</span>
173
- </a>
174
- </div>
175
- """
 
 
 
 
 
 
 
 
 
176
  )
177
 
178
  with gr.Row():
 
160
  elem_id="hero-md"
161
  )
162
 
 
163
  gr.HTML(
164
+ """
165
+ <div class="api-cta-wrap" style="display:flex; justify-content:center; gap:12px; flex-wrap:wrap; margin-top:10px;">
166
+ <a class="api-cta-hero"
167
+ style="background: linear-gradient(90deg,#22c55e 0%, #16a34a 100%);"
168
+ href="https://www.face-swap.co/?utm_source=hfspace_videofaceswap&utm_medium=hero_upgrade"
169
+ target="_blank" rel="noopener" aria-label="Upgrade to HD (no code)">
170
+ <span class="txt"> Upgrade to HD (No code)</span>
171
+ <span class="chev">↗</span>
172
+ </a>
173
+
174
+ <a class="api-cta-hero"
175
+ href="https://www.face-swap.co/api?utm_source=hfspace_videofaceswap&utm_medium=hero_api_new"
176
+ target="_blank" rel="noopener" aria-label="Face Swap API">
177
+ <span class="new">DEV</span>
178
+ <span class="txt">Face Swap API</span>
179
+ <span class="chev">↗</span>
180
+ </a>
181
+ </div>
182
+
183
+ """
184
  )
185
 
186
  with gr.Row():