speechbrainteam commited on
Commit
92a28d6
1 Parent(s): a56dca9

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +1 -1
README.md CHANGED
@@ -77,7 +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-zh-CN", savedir="pretrained_models/asr-wav2vec2-commonvoice-14-zh-CN")
80
- asr_model.transcribe_file("speechbrain/asr-wav2vec2-commonvoice-14-zh-CN/example-zh-CN.mp3")
81
  ```
82
  ### Inference on GPU
83
  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-zh-CN", savedir="pretrained_models/asr-wav2vec2-commonvoice-14-zh-CN")
80
+ asr_model.transcribe_file("speechbrain/asr-wav2vec2-commonvoice-14-zh-CN/example-zh-CN.wav")
81
  ```
82
  ### Inference on GPU
83
  To perform inference on the GPU, add `run_opts={"device":"cuda"}` when calling the `from_hparams` method.