Spaces:
Sleeping
Sleeping
Update run.py
Browse files
run.py
CHANGED
|
@@ -19,14 +19,14 @@ def gif_maker(img_files):
|
|
| 19 |
output_file,
|
| 20 |
save_all=True,
|
| 21 |
append_images=img_array[1:],
|
| 22 |
-
|
| 23 |
loop=0
|
| 24 |
)
|
| 25 |
return output_file
|
| 26 |
|
| 27 |
demo = gr.Interface(
|
| 28 |
gif_maker,
|
| 29 |
-
inputs=
|
| 30 |
outputs=gr.Image(),
|
| 31 |
examples=[
|
| 32 |
[[
|
|
|
|
| 19 |
output_file,
|
| 20 |
save_all=True,
|
| 21 |
append_images=img_array[1:],
|
| 22 |
+
duration=400,
|
| 23 |
loop=0
|
| 24 |
)
|
| 25 |
return output_file
|
| 26 |
|
| 27 |
demo = gr.Interface(
|
| 28 |
gif_maker,
|
| 29 |
+
inputs=gr.Gallery(),
|
| 30 |
outputs=gr.Image(),
|
| 31 |
examples=[
|
| 32 |
[[
|