Mirco commited on
Commit
d4cf1da
1 Parent(s): 2281d10

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +3 -3
README.md CHANGED
@@ -47,9 +47,9 @@ Please notice that we encourage you to read our tutorials and learn more about
47
  An external `py_module_file=custom_interface.py` is used as an external Predictor class into this HF repos. We use `foreign_class` function from `speechbrain.pretrained.interfaces` that allow you to load you custom model.
48
 
49
  ```python
50
- >>> from speechbrain.pretrained.interfaces import foreign_class
51
- >>> slu = foreign_class(source="speechbrain/SLU-direct-SLURP-hubert-enc", pymodule_file="custom_interface.py", classname="CustomSLUDecoder")
52
- >>> slu.decode_file("speechbrain/SLU-direct-SLURP-hubert-enc/audio-1490356700-headset.flac")
53
  ```
54
 
55
  The system is trained with recordings sampled at 16kHz (single channel).
 
47
  An external `py_module_file=custom_interface.py` is used as an external Predictor class into this HF repos. We use `foreign_class` function from `speechbrain.pretrained.interfaces` that allow you to load you custom model.
48
 
49
  ```python
50
+ from speechbrain.pretrained.interfaces import foreign_class
51
+ slu = foreign_class(source="speechbrain/SLU-direct-SLURP-hubert-enc", pymodule_file="custom_interface.py", classname="CustomSLUDecoder")
52
+ slu.decode_file("speechbrain/SLU-direct-SLURP-hubert-enc/audio-1490356700-headset.flac")
53
  ```
54
 
55
  The system is trained with recordings sampled at 16kHz (single channel).