Titouan commited on
Commit
2266e5a
1 Parent(s): 51f4726

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +1 -1
README.md CHANGED
@@ -53,7 +53,7 @@ Please notice that we encourage you to read our tutorials and learn more about
53
  from speechbrain.pretrained import WaveformEncoder
54
 
55
  ssl_model = WaveformEncoder.from_hparams(source="speechbrain/ssl-wav2vec2-base-librispeech", savedir="speechbrain/ssl-wav2vec2-base-librispeech")
56
- ssl_model.transcribe_file("example-fr.wav")
57
 
58
  ```
59
  ### Inference on GPU
 
53
  from speechbrain.pretrained import WaveformEncoder
54
 
55
  ssl_model = WaveformEncoder.from_hparams(source="speechbrain/ssl-wav2vec2-base-librispeech", savedir="speechbrain/ssl-wav2vec2-base-librispeech")
56
+ ssl_model.encode_file("mywavfile.wav")
57
 
58
  ```
59
  ### Inference on GPU