Spaces:
Running
on
Zero
Running
on
Zero
feat: Add complex examples combining multiple assets creatively
Browse files
app.py
CHANGED
|
@@ -353,6 +353,45 @@ with gr.Blocks() as demo:
|
|
| 353 |
0.1,
|
| 354 |
"HuggingFace",
|
| 355 |
],
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 356 |
],
|
| 357 |
inputs=[user_files, user_prompt, top_p, temperature, api_choice],
|
| 358 |
outputs=[generated_video, generated_command],
|
|
|
|
| 353 |
0.1,
|
| 354 |
"HuggingFace",
|
| 355 |
],
|
| 356 |
+
[
|
| 357 |
+
[
|
| 358 |
+
"./examples/waterfall.mp4",
|
| 359 |
+
"./examples/heat-wave.mp3",
|
| 360 |
+
"./examples/waterfall-overlay.png"
|
| 361 |
+
],
|
| 362 |
+
"Create a video with the waterfall playing, add the heat wave audio track, and overlay the waterfall overlay image in the top right corner with 50% opacity",
|
| 363 |
+
0.7,
|
| 364 |
+
0.1,
|
| 365 |
+
"HuggingFace",
|
| 366 |
+
],
|
| 367 |
+
[
|
| 368 |
+
[
|
| 369 |
+
"./examples/cat1.jpeg",
|
| 370 |
+
"./examples/cat2.jpeg",
|
| 371 |
+
"./examples/cat3.jpeg",
|
| 372 |
+
"./examples/cat4.jpeg",
|
| 373 |
+
"./examples/cat5.jpeg",
|
| 374 |
+
"./examples/cat6.jpeg",
|
| 375 |
+
"./examples/cat7.jpeg",
|
| 376 |
+
"./examples/cat8.jpeg",
|
| 377 |
+
"./examples/bg-image.png"
|
| 378 |
+
],
|
| 379 |
+
"Create a video collage where all cat images are arranged in a 3x3 grid on top of the background image, with each image appearing for 3 seconds",
|
| 380 |
+
0.7,
|
| 381 |
+
0.1,
|
| 382 |
+
"HuggingFace",
|
| 383 |
+
],
|
| 384 |
+
[
|
| 385 |
+
[
|
| 386 |
+
"./examples/ai_talk.wav",
|
| 387 |
+
"./examples/square-image.png",
|
| 388 |
+
"./examples/waterfall.mp4"
|
| 389 |
+
],
|
| 390 |
+
"Create a video with the waterfall playing in the background, the square image in the center with a circular mask, and a waveform visualization of the audio track at the bottom",
|
| 391 |
+
0.7,
|
| 392 |
+
0.1,
|
| 393 |
+
"HuggingFace",
|
| 394 |
+
],
|
| 395 |
],
|
| 396 |
inputs=[user_files, user_prompt, top_p, temperature, api_choice],
|
| 397 |
outputs=[generated_video, generated_command],
|