Update README.md
Browse files
README.md
CHANGED
@@ -111,7 +111,7 @@ Please notice that we encourage you to read our tutorials and learn more about
|
|
111 |
|
112 |
```python
|
113 |
import torchaudio
|
114 |
-
from speechbrain.
|
115 |
classifier = EncoderClassifier.from_hparams(source="speechbrain/lang-id-commonlanguage_ecapa", savedir="pretrained_models/lang-id-commonlanguage_ecapa")
|
116 |
# Italian Example
|
117 |
out_prob, score, index, text_lab = classifier.classify_file('speechbrain/lang-id-commonlanguage_ecapa/example-it.wav')
|
|
|
111 |
|
112 |
```python
|
113 |
import torchaudio
|
114 |
+
from speechbrain.inference.classifiers import EncoderClassifier
|
115 |
classifier = EncoderClassifier.from_hparams(source="speechbrain/lang-id-commonlanguage_ecapa", savedir="pretrained_models/lang-id-commonlanguage_ecapa")
|
116 |
# Italian Example
|
117 |
out_prob, score, index, text_lab = classifier.classify_file('speechbrain/lang-id-commonlanguage_ecapa/example-it.wav')
|