Adel-Moumen
commited on
Commit
•
f1d8e1d
1
Parent(s):
2266e5a
Update README.md
Browse files
README.md
CHANGED
@@ -50,7 +50,7 @@ Please notice that we encourage you to read our tutorials and learn more about
|
|
50 |
### Extracting embeddings for your own audio files
|
51 |
|
52 |
```python
|
53 |
-
from speechbrain.
|
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")
|
|
|
50 |
### Extracting embeddings for your own audio files
|
51 |
|
52 |
```python
|
53 |
+
from speechbrain.inference.encoders 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")
|