speechbrainteam
commited on
Commit
·
19baea8
1
Parent(s):
2c2d948
Update README.md
Browse files
README.md
CHANGED
@@ -53,12 +53,12 @@ pip install speechbrain
|
|
53 |
Please notice that we encourage you to read our tutorials and learn more about
|
54 |
[SpeechBrain](https://speechbrain.github.io).
|
55 |
|
56 |
-
### Transcribing your own audio files
|
57 |
|
58 |
```python
|
59 |
from speechbrain.pretrained import TransformerASR
|
60 |
|
61 |
-
asr_model = TransformerASR.from_hparams(source="speechbrain/asr-transformer-transformerlm-librispeech")
|
62 |
asr_model.transcribe_file("path_to_your_file.wav")
|
63 |
|
64 |
```
|
|
|
53 |
Please notice that we encourage you to read our tutorials and learn more about
|
54 |
[SpeechBrain](https://speechbrain.github.io).
|
55 |
|
56 |
+
### Transcribing your own audio files (in English)
|
57 |
|
58 |
```python
|
59 |
from speechbrain.pretrained import TransformerASR
|
60 |
|
61 |
+
asr_model = TransformerASR.from_hparams(source="speechbrain/asr-transformer-transformerlm-librispeech", savedir="pretrained_models/asr-transformer-transformerlm-librispeech")
|
62 |
asr_model.transcribe_file("path_to_your_file.wav")
|
63 |
|
64 |
```
|