Spaces:
Runtime error
Runtime error
foz
commited on
Commit
·
dd897ce
1
Parent(s):
7e5ba79
More fixes
Browse files- requirements.txt +3 -0
- utils.py +1 -1
requirements.txt
CHANGED
@@ -1,3 +1,6 @@
|
|
|
|
|
|
|
|
1 |
decord==0.6.0
|
2 |
diffusers==0.16.1
|
3 |
einops
|
|
|
1 |
+
--extra-index-url https://download.pytorch.org/whl/cu113
|
2 |
+
torch
|
3 |
+
accelerate
|
4 |
decord==0.6.0
|
5 |
diffusers==0.16.1
|
6 |
einops
|
utils.py
CHANGED
@@ -91,6 +91,6 @@ def create_gif(frames, fps, rescale=False, path=None, watermark=None):
|
|
91 |
|
92 |
def post_process_gif(list_of_results, image_resolution):
|
93 |
output_file = "/tmp/ddxk.gif"
|
94 |
-
imageio.mimsave(output_file, list_of_results,
|
95 |
return output_file
|
96 |
|
|
|
91 |
|
92 |
def post_process_gif(list_of_results, image_resolution):
|
93 |
output_file = "/tmp/ddxk.gif"
|
94 |
+
imageio.mimsave(output_file, list_of_results, duration=250)
|
95 |
return output_file
|
96 |
|