Titouan
commited on
Commit
•
a6de363
1
Parent(s):
bc07a6d
change interface name
Browse files
README.md
CHANGED
@@ -56,9 +56,9 @@ Please notice that we encourage you to read our tutorials and learn more about
|
|
56 |
### Transcribing your own audio files
|
57 |
|
58 |
```python
|
59 |
-
from speechbrain.pretrained import
|
60 |
|
61 |
-
asr_model =
|
62 |
asr_model.transcribe_file("path_to_your_file.wav")
|
63 |
|
64 |
```
|
|
|
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 |
```
|