victor HF staff commited on
Commit
1f06a09
·
1 Parent(s): 748a14f

refactor: Improve slideshow example with precise timing and zoom parameters

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -357,7 +357,7 @@ with gr.Blocks() as demo:
357
  "./examples/cat5.jpeg",
358
  "./examples/cat6.jpeg",
359
  ],
360
- "Create a slideshow where each image is shown for 2 seconds with a continuous slight zoom effect.",
361
  0.7,
362
  0.1,
363
  "deepseek-ai/DeepSeek-V3",
 
357
  "./examples/cat5.jpeg",
358
  "./examples/cat6.jpeg",
359
  ],
360
+ "Create a smooth slideshow where each image is shown for exactly 2 seconds. Apply a continuous subtle zoom-in effect on each image that starts at 100% scale and ends at 110% scale. Use smooth transitions between images. Match the total duration to the number of images multiplied by 2 seconds.",
361
  0.7,
362
  0.1,
363
  "deepseek-ai/DeepSeek-V3",