miracle01 commited on
Commit
3898bce
·
1 Parent(s): d308151

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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(wav=wav, sr=sr)
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: