Spaces:
Sleeping
Sleeping
Update app.py
Browse files
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 |
-
|
| 167 |
-
|
| 168 |
-
|
| 169 |
-
|
| 170 |
-
|
| 171 |
-
|
| 172 |
-
|
| 173 |
-
|
| 174 |
-
|
| 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():
|