Adel-Moumen commited on
Commit
ca8dd3f
1 Parent(s): ac8b73e

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +1 -1
README.md CHANGED
@@ -59,7 +59,7 @@ Please notice that we encourage you to read our tutorials and learn more about
59
 
60
  ```python
61
  import torchaudio
62
- from speechbrain.pretrained import EncoderClassifier
63
  classifier = EncoderClassifier.from_hparams(source="speechbrain/urbansound8k_ecapa", savedir="pretrained_models/gurbansound8k_ecapa")
64
  out_prob, score, index, text_lab = classifier.classify_file('speechbrain/urbansound8k_ecapa/dog_bark.wav')
65
  print(text_lab)
 
59
 
60
  ```python
61
  import torchaudio
62
+ from speechbrain.inference.classifiers import EncoderClassifier
63
  classifier = EncoderClassifier.from_hparams(source="speechbrain/urbansound8k_ecapa", savedir="pretrained_models/gurbansound8k_ecapa")
64
  out_prob, score, index, text_lab = classifier.classify_file('speechbrain/urbansound8k_ecapa/dog_bark.wav')
65
  print(text_lab)