Adel-Moumen commited on
Commit
b0cec0f
1 Parent(s): f1c27a8

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +1 -1
README.md CHANGED
@@ -66,7 +66,7 @@ Please notice that we encourage you to read our tutorials and learn more about
66
 
67
  ```python
68
  import torchaudio
69
- from speechbrain.pretrained import EncoderClassifier
70
  classifier = EncoderClassifier.from_hparams(source="speechbrain/google_speech_command_xvector", savedir="pretrained_models/google_speech_command_xvector")
71
  out_prob, score, index, text_lab = classifier.classify_file('speechbrain/google_speech_command_xvector/yes.wav')
72
  print(text_lab)
 
66
 
67
  ```python
68
  import torchaudio
69
+ from speechbrain.inference.classifiers import EncoderClassifier
70
  classifier = EncoderClassifier.from_hparams(source="speechbrain/google_speech_command_xvector", savedir="pretrained_models/google_speech_command_xvector")
71
  out_prob, score, index, text_lab = classifier.classify_file('speechbrain/google_speech_command_xvector/yes.wav')
72
  print(text_lab)