marquesafonso commited on
Commit
128be21
·
verified ·
1 Parent(s): 7ccd379

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -0
app.py CHANGED
@@ -18,6 +18,7 @@ def extract_waveform_animation(audio_file, window_seconds=5):
18
  first_window = y[:window_length]
19
  x_vals = np.linspace(0, duration, num=len(y))
20
  ax.set_axis_off()
 
21
 
22
  def init():
23
  ax.set_xlim(0, window_seconds)
 
18
  first_window = y[:window_length]
19
  x_vals = np.linspace(0, duration, num=len(y))
20
  ax.set_axis_off()
21
+ ax.set_facecolor("black")
22
 
23
  def init():
24
  ax.set_xlim(0, window_seconds)