Adel-Moumen
commited on
Commit
•
3368c3b
1
Parent(s):
269ef58
Update README.md
Browse files
README.md
CHANGED
@@ -75,7 +75,7 @@ Please notice that we encourage you to read our tutorials and learn more about
|
|
75 |
### Transcribing your own audio files (in French)
|
76 |
|
77 |
```python
|
78 |
-
from speechbrain.
|
79 |
|
80 |
asr_model = EncoderASR.from_hparams(source="speechbrain/asr-wav2vec2-commonvoice-fr", savedir="pretrained_models/asr-wav2vec2-commonvoice-fr")
|
81 |
asr_model.transcribe_file('speechbrain/asr-wav2vec2-commonvoice-fr/example-fr.wav')
|
|
|
75 |
### Transcribing your own audio files (in French)
|
76 |
|
77 |
```python
|
78 |
+
from speechbrain.inference.ASR import EncoderASR
|
79 |
|
80 |
asr_model = EncoderASR.from_hparams(source="speechbrain/asr-wav2vec2-commonvoice-fr", savedir="pretrained_models/asr-wav2vec2-commonvoice-fr")
|
81 |
asr_model.transcribe_file('speechbrain/asr-wav2vec2-commonvoice-fr/example-fr.wav')
|