Adel-Moumen commited on
Commit
e2ae803
·
verified ·
1 Parent(s): cf8aa69

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +1 -2
README.md CHANGED
@@ -77,8 +77,7 @@ Please notice that we encourage you to read our tutorials and learn more about
77
  from speechbrain.inference.ASR import EncoderASR
78
 
79
  asr_model = EncoderASR.from_hparams(source="speechbrain/asr-wav2vec2-commonvoice-14-es", savedir="pretrained_models/asr-wav2vec2-commonvoice-14-es")
80
- asr_model.transcribe_file("speechbrain/asr-wav2vec2-commonvoice-14-es/example-es.wav")
81
-
82
  ```
83
  ### Inference on GPU
84
  To perform inference on the GPU, add `run_opts={"device":"cuda"}` when calling the `from_hparams` method.
 
77
  from speechbrain.inference.ASR import EncoderASR
78
 
79
  asr_model = EncoderASR.from_hparams(source="speechbrain/asr-wav2vec2-commonvoice-14-es", savedir="pretrained_models/asr-wav2vec2-commonvoice-14-es")
80
+ asr_model.transcribe_file("speechbrain/asr-wav2vec2-commonvoice-14-es/example_es.mp3")
 
81
  ```
82
  ### Inference on GPU
83
  To perform inference on the GPU, add `run_opts={"device":"cuda"}` when calling the `from_hparams` method.