marquesafonso commited on
Commit
55b818b
·
verified ·
1 Parent(s): 128be21

increase fps

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -43,7 +43,7 @@ def extract_waveform_animation(audio_file, window_seconds=5):
43
  init_func=init, interval=7, blit=False)
44
 
45
  with tempfile.NamedTemporaryFile(delete=False, suffix='.mp4') as tmpfile:
46
- ani.save(tmpfile.name, writer='ffmpeg', fps=1)
47
  video_path = tmpfile.name
48
 
49
  return video_path
 
43
  init_func=init, interval=7, blit=False)
44
 
45
  with tempfile.NamedTemporaryFile(delete=False, suffix='.mp4') as tmpfile:
46
+ ani.save(tmpfile.name, writer='ffmpeg', fps=30)
47
  video_path = tmpfile.name
48
 
49
  return video_path