Neura commited on
Commit
d0f95e6
1 Parent(s): cf36d6a

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +1 -1
README.md CHANGED
@@ -58,7 +58,7 @@ processor = WhisperProcessor.from_pretrained("Neurai/NeuraSpeech_WhisperBase")
58
  model = WhisperForConditionalGeneration.from_pretrained("Neurai/NeuraSpeech_WhisperBase")
59
  forced_decoder_ids = processor.get_decoder_prompt_ids(language="fa", task="transcribe")
60
 
61
- array, sample_rate = librosa.load('persian_audio.mp3', sr=16000,mono=True)
62
  sr = 16000
63
  array = librosa.to_mono(array)
64
  array = librosa.resample(array, orig_sr=sample_rate, target_sr=16000)
 
58
  model = WhisperForConditionalGeneration.from_pretrained("Neurai/NeuraSpeech_WhisperBase")
59
  forced_decoder_ids = processor.get_decoder_prompt_ids(language="fa", task="transcribe")
60
 
61
+ array, sample_rate = librosa.load('persian_audio.mp3')
62
  sr = 16000
63
  array = librosa.to_mono(array)
64
  array = librosa.resample(array, orig_sr=sample_rate, target_sr=16000)