QHL067 commited on
Commit
57a7b56
·
1 Parent(s): af982a5
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -248,7 +248,7 @@ def infer(
248
  last_image = pil_images[-1]
249
 
250
  gif_buffer = io.BytesIO()
251
- pil_images[0].save(gif_buffer, format="GIF", save_all=True, append_images=pil_images[1:], duration=1000, loop=0)
252
  gif_buffer.seek(0)
253
  gif_bytes = gif_buffer.read()
254
 
 
248
  last_image = pil_images[-1]
249
 
250
  gif_buffer = io.BytesIO()
251
+ pil_images[0].save(gif_buffer, format="GIF", save_all=True, append_images=pil_images[1:], duration=200, loop=0)
252
  gif_buffer.seek(0)
253
  gif_bytes = gif_buffer.read()
254