3loi commited on
Commit
3c5efc3
1 Parent(s): 84d4001

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +1 -1
README.md CHANGED
@@ -25,7 +25,7 @@ std = model.config.std
25
 
26
  #load an audio file
27
  audio_path = "/path/to/audio.wav"
28
- raw_wav, _ = librosa.load(audio_path, sr=16000)
29
 
30
  #normalize the audio by mean/std
31
  norm_wav = (raw_wav - mean) / (std+0.000001)
 
25
 
26
  #load an audio file
27
  audio_path = "/path/to/audio.wav"
28
+ raw_wav, _ = librosa.load(audio_path, sr=model.config.sampling_rate)
29
 
30
  #normalize the audio by mean/std
31
  norm_wav = (raw_wav - mean) / (std+0.000001)