Adel-Moumen
commited on
Commit
•
1548f33
1
Parent(s):
d771b53
Update README.md
Browse files
README.md
CHANGED
@@ -266,7 +266,7 @@ information about the dataset, see [here](http://bark.phon.ioc.ee/voxlingua107/)
|
|
266 |
|
267 |
```python
|
268 |
import torchaudio
|
269 |
-
from speechbrain.
|
270 |
language_id = EncoderClassifier.from_hparams(source="speechbrain/lang-id-voxlingua107-ecapa", savedir="tmp")
|
271 |
# Download Thai language sample from Omniglot and cvert to suitable form
|
272 |
signal = language_id.load_audio("https://omniglot.com/soundfiles/udhr/udhr_th.mp3")
|
|
|
266 |
|
267 |
```python
|
268 |
import torchaudio
|
269 |
+
from speechbrain.inference.classifiers import EncoderClassifier
|
270 |
language_id = EncoderClassifier.from_hparams(source="speechbrain/lang-id-voxlingua107-ecapa", savedir="tmp")
|
271 |
# Download Thai language sample from Omniglot and cvert to suitable form
|
272 |
signal = language_id.load_audio("https://omniglot.com/soundfiles/udhr/udhr_th.mp3")
|