Update README.md
Browse files
README.md
CHANGED
@@ -60,7 +60,7 @@ Please notice that we encourage you to read our tutorials and learn more about
|
|
60 |
import torchaudio
|
61 |
from speechbrain.pretrained import EncoderClassifier
|
62 |
classifier = EncoderClassifier.from_hparams(source="speechbrain/spkrec-ecapa-voxceleb")
|
63 |
-
signal, fs =torchaudio.load('
|
64 |
embeddings = classifier.encode_batch(signal)
|
65 |
```
|
66 |
The system is trained with recordings sampled at 16kHz (single channel).
|
|
|
60 |
import torchaudio
|
61 |
from speechbrain.pretrained import EncoderClassifier
|
62 |
classifier = EncoderClassifier.from_hparams(source="speechbrain/spkrec-ecapa-voxceleb")
|
63 |
+
signal, fs =torchaudio.load('speechbrain/spkrec-ecapa-voxceleb/example1.wav')
|
64 |
embeddings = classifier.encode_batch(signal)
|
65 |
```
|
66 |
The system is trained with recordings sampled at 16kHz (single channel).
|