Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -189,7 +189,7 @@ def main():
|
|
189 |
try:
|
190 |
wav, sr = librosa.load(path, sr=44100)
|
191 |
Xdb = get_melspec(path)[1]
|
192 |
-
mfccs = librosa.feature.mfcc(
|
193 |
# # display audio
|
194 |
# st.audio(audio_file, format='audio/wav', start_time=0)
|
195 |
except Exception as e:
|
|
|
189 |
try:
|
190 |
wav, sr = librosa.load(path, sr=44100)
|
191 |
Xdb = get_melspec(path)[1]
|
192 |
+
mfccs = librosa.feature.mfcc(y=wav, sr=sr)
|
193 |
# # display audio
|
194 |
# st.audio(audio_file, format='audio/wav', start_time=0)
|
195 |
except Exception as e:
|