1000
Browse files
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=
|
| 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 |
|