speechbrainteam
commited on
Commit
•
be9f369
1
Parent(s):
667393f
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.inference.speaker import EncoderClassifier
|
62 |
classifier = EncoderClassifier.from_hparams(source="speechbrain/spkrec-resnet-voxceleb")
|
63 |
-
signal, fs =torchaudio.load('
|
64 |
embeddings = classifier.encode_batch(signal)
|
65 |
```
|
66 |
|
|
|
60 |
import torchaudio
|
61 |
from speechbrain.inference.speaker import EncoderClassifier
|
62 |
classifier = EncoderClassifier.from_hparams(source="speechbrain/spkrec-resnet-voxceleb")
|
63 |
+
signal, fs =torchaudio.load('example.wav')
|
64 |
embeddings = classifier.encode_batch(signal)
|
65 |
```
|
66 |
|