Update app.py
Browse files
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)
|