Spaces:
Build error
Build error
Update functions/processGif.py
Browse files- functions/processGif.py +1 -1
functions/processGif.py
CHANGED
|
@@ -42,5 +42,5 @@ for frame in range(frameNum):
|
|
| 42 |
frames = []
|
| 43 |
for frame in range(frameNum):
|
| 44 |
frames.append(imageio.imread('swap/%s.jpg' % frame))
|
| 45 |
-
imageio.mimsave('
|
| 46 |
shutil.rmtree('swap')
|
|
|
|
| 42 |
frames = []
|
| 43 |
for frame in range(frameNum):
|
| 44 |
frames.append(imageio.imread('swap/%s.jpg' % frame))
|
| 45 |
+
imageio.mimsave('processed/' + sys.argv[3] + '.gif', frames, fps=20)
|
| 46 |
shutil.rmtree('swap')
|