QHL067 commited on
Commit
af982a5
·
1 Parent(s): 9e49d8b
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=100, 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=1000, loop=0)
252
  gif_buffer.seek(0)
253
  gif_bytes = gif_buffer.read()
254