victor HF Staff commited on
Commit
828250d
·
1 Parent(s): bf3be31

feat: Add cat image slideshow example with zoom effect

Browse files
Files changed (1) hide show
  1. app.py +15 -0
app.py CHANGED
@@ -348,6 +348,21 @@ with gr.Blocks() as demo:
348
  0.1,
349
  "deepseek-ai/DeepSeek-V3",
350
  ],
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
351
  ],
352
  inputs=[user_files, user_prompt, top_p, temperature, model_choice],
353
  outputs=[generated_video, generated_command],
 
348
  0.1,
349
  "deepseek-ai/DeepSeek-V3",
350
  ],
351
+ [
352
+ [
353
+ "./examples/cat1.jpeg",
354
+ "./examples/cat2.jpeg",
355
+ "./examples/cat3.jpeg",
356
+ "./examples/cat4.jpeg",
357
+ "./examples/cat5.jpeg",
358
+ "./examples/cat6.jpeg",
359
+ "./examples/heat-wave.mp3",
360
+ ],
361
+ "Create a slideshow where each image is shown for 2 seconds with a continuous slight zoom effect. Use the audio as background music and match the video duration to the audio length.",
362
+ 0.7,
363
+ 0.1,
364
+ "deepseek-ai/DeepSeek-V3",
365
+ ],
366
  ],
367
  inputs=[user_files, user_prompt, top_p, temperature, model_choice],
368
  outputs=[generated_video, generated_command],