Adel-Moumen
commited on
Update README.md
Browse files
README.md
CHANGED
@@ -42,7 +42,7 @@ Please notice that we encourage you to read our tutorials and learn more about
|
|
42 |
|
43 |
```python
|
44 |
import torchaudio
|
45 |
-
from speechbrain.
|
46 |
spk_emb_encoder = MelSpectrogramEncoder.from_hparams(source="speechbrain/spkrec-ecapa-voxceleb-mel-spec")
|
47 |
|
48 |
INPUT_SPEECH = "speech_sample.wav"
|
|
|
42 |
|
43 |
```python
|
44 |
import torchaudio
|
45 |
+
from speechbrain.inference.encoders import MelSpectrogramEncoder
|
46 |
spk_emb_encoder = MelSpectrogramEncoder.from_hparams(source="speechbrain/spkrec-ecapa-voxceleb-mel-spec")
|
47 |
|
48 |
INPUT_SPEECH = "speech_sample.wav"
|