jadechoghari commited on
Commit
8bfcdbb
1 Parent(s): 3aaf62a

update animation

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -31,7 +31,7 @@ def generate_waveform(description):
31
  # else:
32
  # return "Error: Failed to generate the waveform."
33
  if os.path.exists(generated_file_path):
34
- waveform_video = gr.make_waveform(audio=generated_file_path, bg_color="#000000", bars_color="#00FF00", bar_count=100, bar_width=1.5)
35
  return waveform_video
36
  else:
37
  return "Error: Failed to generate the waveform."
 
31
  # else:
32
  # return "Error: Failed to generate the waveform."
33
  if os.path.exists(generated_file_path):
34
+ waveform_video = gr.make_waveform(audio=generated_file_path, bg_color="#000000", bars_color="#00FF00", bar_count=100, bar_width=1.5, animate=True)
35
  return waveform_video
36
  else:
37
  return "Error: Failed to generate the waveform."