vumichien commited on
Commit
f8cb30f
1 Parent(s): 3648f2e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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, fps=20)
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