Adel-Moumen commited on
Commit
8644a14
1 Parent(s): 27c6609

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +1 -1
README.md CHANGED
@@ -62,7 +62,7 @@ Please notice that we encourage you to read our tutorials and learn more about
62
  from speechbrain.pretrained import EncoderDecoderASR
63
 
64
  asr_model = EncoderDecoderASR.from_hparams(source="speechbrain/asr-branchformer-large-Tedlium2")
65
- asr_model = EncoderDecoderASR.from_hparams(source="speechbrain/asr-branchformer-large-Tedlium2/example.wav")
66
 
67
  ```
68
  ### Inference on GPU
 
62
  from speechbrain.pretrained import EncoderDecoderASR
63
 
64
  asr_model = EncoderDecoderASR.from_hparams(source="speechbrain/asr-branchformer-large-Tedlium2")
65
+ asr_model = EncoderDecoderASR.transcribe_file("speechbrain/asr-branchformer-large-Tedlium2/example.wav")
66
 
67
  ```
68
  ### Inference on GPU