Update README.md
Browse files
README.md
CHANGED
@@ -25,7 +25,8 @@ processor = WhisperProcessor.from_pretrained(model_path_)
|
|
25 |
model = WhisperForConditionalGeneration.from_pretrained(model_path_).to(device)
|
26 |
model.config.forced_decoder_ids = processor.get_decoder_prompt_ids(language="bengali", task="transcribe")
|
27 |
|
28 |
-
mp3_path = "https://huggingface.co/sha1779/BengaliRegionalASR/resolve/main/Mp3/
|
|
|
29 |
speech_array, sampling_rate = librosa.load(mp3_path, sr=16000)
|
30 |
|
31 |
speech_array = librosa.resample(np.asarray(speech_array), orig_sr=sampling_rate, target_sr=16000)
|
|
|
25 |
model = WhisperForConditionalGeneration.from_pretrained(model_path_).to(device)
|
26 |
model.config.forced_decoder_ids = processor.get_decoder_prompt_ids(language="bengali", task="transcribe")
|
27 |
|
28 |
+
mp3_path = "https://huggingface.co/sha1779/BengaliRegionalASR/resolve/main/Mp3/valid_barishal%20(1).wav"
|
29 |
+
|
30 |
speech_array, sampling_rate = librosa.load(mp3_path, sr=16000)
|
31 |
|
32 |
speech_array = librosa.resample(np.asarray(speech_array), orig_sr=sampling_rate, target_sr=16000)
|