Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -222,7 +222,7 @@ def render(motions, device_id=0, name='test_vis'):
|
|
222 |
r.delete()
|
223 |
|
224 |
out = np.stack(vid, axis=0)
|
225 |
-
imageio.mimwrite(f'output/results.gif', out,
|
226 |
out_video = mp.VideoFileClip(f'output/results.gif')
|
227 |
out_video.write_videofile("output/results.mp4")
|
228 |
del out, vertices
|
|
|
222 |
r.delete()
|
223 |
|
224 |
out = np.stack(vid, axis=0)
|
225 |
+
imageio.mimwrite(f'output/results.gif', out, duration=50)
|
226 |
out_video = mp.VideoFileClip(f'output/results.gif')
|
227 |
out_video.write_videofile("output/results.mp4")
|
228 |
del out, vertices
|