Adel-Moumen
commited on
Commit
•
5453577
1
Parent(s):
13c6450
Update README.md
Browse files
README.md
CHANGED
@@ -39,7 +39,7 @@ Please notice that we encourage you to read our tutorials and learn more about
|
|
39 |
### Perform Classification on your own file
|
40 |
|
41 |
```python
|
42 |
-
from speechbrain.
|
43 |
|
44 |
model = AudioClassifier.from_hparams(source="speechbrain/cnn14-esc50", savedir='pretrained_models/cnn14-esc50')
|
45 |
out_probs, score, index, text_lab = model.classify_file('speechbrain/cnn14-esc50/example_dogbark.wav')
|
|
|
39 |
### Perform Classification on your own file
|
40 |
|
41 |
```python
|
42 |
+
from speechbrain.inference.classifiers import AudioClassifier
|
43 |
|
44 |
model = AudioClassifier.from_hparams(source="speechbrain/cnn14-esc50", savedir='pretrained_models/cnn14-esc50')
|
45 |
out_probs, score, index, text_lab = model.classify_file('speechbrain/cnn14-esc50/example_dogbark.wav')
|