Update README.md
Browse files
README.md
CHANGED
@@ -47,7 +47,7 @@ Please notice that we encourage you to read the SpeechBrain tutorials and learn
|
|
47 |
|
48 |
# Transcribing your own audio files (in Swahili)
|
49 |
```python
|
50 |
-
from speechbrain.
|
51 |
asr_model = EncoderASR.from_hparams(source="speechbrain/asr-wav2vec2-dvoice-swahili", savedir="pretrained_models/asr-wav2vec2-dvoice-swahili")
|
52 |
asr_model.transcribe_file('speechbrain/asr-wav2vec2-dvoice-swahili/example_swahili.wav')
|
53 |
```
|
|
|
47 |
|
48 |
# Transcribing your own audio files (in Swahili)
|
49 |
```python
|
50 |
+
from speechbrain.inference.ASR import EncoderASR
|
51 |
asr_model = EncoderASR.from_hparams(source="speechbrain/asr-wav2vec2-dvoice-swahili", savedir="pretrained_models/asr-wav2vec2-dvoice-swahili")
|
52 |
asr_model.transcribe_file('speechbrain/asr-wav2vec2-dvoice-swahili/example_swahili.wav')
|
53 |
```
|