Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -10,7 +10,7 @@ def create_gif(filenames, name_gif):
|
|
| 10 |
for filename in filenames:
|
| 11 |
images.append(imageio.imread(filename))
|
| 12 |
|
| 13 |
-
kargs = {"duration":
|
| 14 |
imageio.mimsave(name_gif, images, "GIF", **kargs)
|
| 15 |
|
| 16 |
def upload_file(file):
|
|
|
|
| 10 |
for filename in filenames:
|
| 11 |
images.append(imageio.imread(filename))
|
| 12 |
|
| 13 |
+
kargs = {"duration": 2.00}
|
| 14 |
imageio.mimsave(name_gif, images, "GIF", **kargs)
|
| 15 |
|
| 16 |
def upload_file(file):
|