Spaces:
Build error
Build error
Update app.py
Browse files
app.py
CHANGED
@@ -69,7 +69,7 @@ def Audio(fname,SAMPLE_RATE):
|
|
69 |
return y, sr
|
70 |
|
71 |
def AudioImg(y,sr):
|
72 |
-
img=librosa.display.
|
73 |
fig = plt.figure()
|
74 |
plot_img_np = get_img_from_fig(fig)
|
75 |
return plot_img_np
|
|
|
69 |
return y, sr
|
70 |
|
71 |
def AudioImg(y,sr):
|
72 |
+
img=librosa.display.waveshow(y, sr)
|
73 |
fig = plt.figure()
|
74 |
plot_img_np = get_img_from_fig(fig)
|
75 |
return plot_img_np
|