Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -201,7 +201,7 @@ def main():
|
|
201 |
if st.button("Try test file"):
|
202 |
wav, sr = librosa.load("test.wav", sr=44100)
|
203 |
Xdb = get_melspec("test.wav")[1]
|
204 |
-
mfccs = librosa.feature.mfcc(wav, sr=sr)
|
205 |
# display audio
|
206 |
st.audio("test.wav", format='audio/wav', start_time=0)
|
207 |
path = "test.wav"
|
|
|
201 |
if st.button("Try test file"):
|
202 |
wav, sr = librosa.load("test.wav", sr=44100)
|
203 |
Xdb = get_melspec("test.wav")[1]
|
204 |
+
mfccs = librosa.feature.mfcc(y=wav, sr=sr)
|
205 |
# display audio
|
206 |
st.audio("test.wav", format='audio/wav', start_time=0)
|
207 |
path = "test.wav"
|