Adel-Moumen
commited on
Commit
•
6c4900b
1
Parent(s):
315aa11
Update README.md
Browse files
README.md
CHANGED
@@ -62,7 +62,7 @@ Please notice that we encourage you to read our tutorials and learn more about
|
|
62 |
### Transcribing your own audio files (in English)
|
63 |
|
64 |
```python
|
65 |
-
from speechbrain.
|
66 |
|
67 |
asr_model = EncoderDecoderASR.from_hparams(source="speechbrain/asr-transformer-aishell", savedir="pretrained_models/asr-transformer-aishell")
|
68 |
asr_model.transcribe_file("speechbrain/asr-transformer-aishell/example_mandarin.wav")
|
|
|
62 |
### Transcribing your own audio files (in English)
|
63 |
|
64 |
```python
|
65 |
+
from speechbrain.inference.ASR import EncoderDecoderASR
|
66 |
|
67 |
asr_model = EncoderDecoderASR.from_hparams(source="speechbrain/asr-transformer-aishell", savedir="pretrained_models/asr-transformer-aishell")
|
68 |
asr_model.transcribe_file("speechbrain/asr-transformer-aishell/example_mandarin.wav")
|