Update README.md
Browse files
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.
|
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
|