Adel-Moumen
commited on
Commit
•
d85bff4
1
Parent(s):
f6386c7
Update README.md
Browse files
README.md
CHANGED
@@ -46,7 +46,7 @@ Please notice that we encourage you to read the SpeechBrain tutorials and learn
|
|
46 |
|
47 |
# Transcribing your own audio files (in Wolof)
|
48 |
```python
|
49 |
-
from speechbrain.
|
50 |
asr_model = EncoderASR.from_hparams(source="speechbrain/asr-wav2vec2-dvoice-wolof", savedir="pretrained_models/asr-wav2vec2-dvoice-wolof")
|
51 |
asr_model.transcribe_file('speechbrain/asr-wav2vec2-dvoice-wolof/example_wolof.wav')
|
52 |
```
|
|
|
46 |
|
47 |
# Transcribing your own audio files (in Wolof)
|
48 |
```python
|
49 |
+
from speechbrain.inference.ASR import EncoderASR
|
50 |
asr_model = EncoderASR.from_hparams(source="speechbrain/asr-wav2vec2-dvoice-wolof", savedir="pretrained_models/asr-wav2vec2-dvoice-wolof")
|
51 |
asr_model.transcribe_file('speechbrain/asr-wav2vec2-dvoice-wolof/example_wolof.wav')
|
52 |
```
|