Spaces:
Build error
Build error
Update app.py
Browse files
app.py
CHANGED
|
@@ -267,37 +267,22 @@ iface = gr.Interface(
|
|
| 267 |
],
|
| 268 |
outputs=gr.Video(label="Generated Morphing Video"),
|
| 269 |
title="VQGAN-CLIP Art Generator",
|
|
|
|
| 270 |
description="""
|
| 271 |
-
|
| 272 |
-
|
| 273 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
| 274 |
Generate artistic videos using VQGAN-CLIP.
|
| 275 |
Enter your prompts separated by commas and adjust the number of iterations.
|
| 276 |
The model will generate a morphing video based on your inputs.
|
| 277 |
-
|
| 278 |
-
|
| 279 |
-
1. Use the Colab notebook (click the Colab badge above) with GPU runtime
|
| 280 |
-
2. Clone this space (click Clone Space badge) and enable GPU in your personal copy"""
|
| 281 |
-
css="""
|
| 282 |
-
.gradio-container {
|
| 283 |
-
font-family: 'IBM Plex Sans', sans-serif;
|
| 284 |
-
}
|
| 285 |
-
.gr-button {
|
| 286 |
-
color: white;
|
| 287 |
-
border-radius: 7px;
|
| 288 |
-
background: linear-gradient(45deg, #7747FF, #FF3557);
|
| 289 |
-
border: none;
|
| 290 |
-
height: 46px;
|
| 291 |
-
}
|
| 292 |
-
a {
|
| 293 |
-
text-decoration: none;
|
| 294 |
-
}
|
| 295 |
-
.maintenance-msg {
|
| 296 |
-
color: #FF0000;
|
| 297 |
-
font-size: 14px;
|
| 298 |
-
margin-top: 10px;
|
| 299 |
-
}
|
| 300 |
-
"""
|
| 301 |
)
|
| 302 |
|
| 303 |
if __name__ == "__main__":
|
|
|
|
| 267 |
],
|
| 268 |
outputs=gr.Video(label="Generated Morphing Video"),
|
| 269 |
title="VQGAN-CLIP Art Generator",
|
| 270 |
+
#######
|
| 271 |
description="""
|
| 272 |
+
<a href="https://colab.research.google.com/drive/1ivRYvTaX90PRghQIqAdOyEawkY0YLefa?authuser=0#scrollTo=WE7aPQ0t1hd2">
|
| 273 |
+
<img src="https://colab.research.google.com/assets/colab-badge.svg" alt="Open In Colab"/>
|
| 274 |
+
</a>
|
| 275 |
+
<a href="https://huggingface.co/spaces/your-username/your-space-name?duplicate=true">
|
| 276 |
+
<img src="https://huggingface.co/datasets/huggingface/badges/raw/main/clone-space-lg.svg" alt="Clone Space"/>
|
| 277 |
+
</a>
|
| 278 |
+
<br><br>
|
| 279 |
Generate artistic videos using VQGAN-CLIP.
|
| 280 |
Enter your prompts separated by commas and adjust the number of iterations.
|
| 281 |
The model will generate a morphing video based on your inputs.
|
| 282 |
+
<br><br>
|
| 283 |
+
<b>Note:</b> This application requires GPU access. Please either:
|
| 284 |
+
<br>1. Use the Colab notebook (click the Colab badge above) with GPU runtime
|
| 285 |
+
<br>2. Clone this space (click Clone Space badge) and enable GPU in your personal copy"""
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 286 |
)
|
| 287 |
|
| 288 |
if __name__ == "__main__":
|