Update README.md
Browse files
README.md
CHANGED
|
@@ -57,7 +57,7 @@ Please notice that we encourage you to read our tutorials and learn more about
|
|
| 57 |
### Transcribing your own audio files (in Italian)
|
| 58 |
|
| 59 |
```python
|
| 60 |
-
from speechbrain.
|
| 61 |
|
| 62 |
asr_model = EncoderDecoderASR.from_hparams(source="speechbrain/asr-wav2vec2-commonvoice-it", savedir="pretrained_models/asr-wav2vec2-commonvoice-it")
|
| 63 |
asr_model.transcribe_file("speechbrain/asr-wav2vec2-commonvoice-it/example-it.wav")
|
|
|
|
| 57 |
### Transcribing your own audio files (in Italian)
|
| 58 |
|
| 59 |
```python
|
| 60 |
+
from speechbrain.inference.ASR import EncoderDecoderASR
|
| 61 |
|
| 62 |
asr_model = EncoderDecoderASR.from_hparams(source="speechbrain/asr-wav2vec2-commonvoice-it", savedir="pretrained_models/asr-wav2vec2-commonvoice-it")
|
| 63 |
asr_model.transcribe_file("speechbrain/asr-wav2vec2-commonvoice-it/example-it.wav")
|