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