Update README.md
Browse files
README.md
CHANGED
@@ -57,7 +57,7 @@ information about the dataset, see [here](http://bark.phon.ioc.ee/voxlingua107/)
|
|
57 |
```python
|
58 |
import torchaudio
|
59 |
from speechbrain.pretrained import EncoderClassifier
|
60 |
-
language_id = EncoderClassifier.from_hparams(source="sahita/lang-VoxLingua", savedir="tmp")
|
61 |
# Download Thai language sample from Omniglot and cvert to suitable form
|
62 |
signal = language_id.load_audio("https://omniglot.com/soundfiles/udhr/udhr_th.mp3")
|
63 |
prediction = language_id.classify_batch(signal)
|
|
|
57 |
```python
|
58 |
import torchaudio
|
59 |
from speechbrain.pretrained import EncoderClassifier
|
60 |
+
language_id = EncoderClassifier.from_hparams(source="sahita/lang-VoxLingua-ecapa", savedir="tmp")
|
61 |
# Download Thai language sample from Omniglot and cvert to suitable form
|
62 |
signal = language_id.load_audio("https://omniglot.com/soundfiles/udhr/udhr_th.mp3")
|
63 |
prediction = language_id.classify_batch(signal)
|