speechbrain/speechbrain

๐Ÿž | Import error in speechbrain.pretrained

AbhinavSingh-21f1002369 opened this issue ยท 3 comments

Describe the bug

Hello guys,

I wanted to import EndToEndSLU from speechbrain.pretrained, but it seems there is an error. Anyone who did resolve it earlier?

from speechbrain.pretrained import EndToEndSLU produces error

Expected behaviour

It should have imported easiily.

To Reproduce

Steps to reproduce : https://colab.research.google.com/drive/1XnCba8gDTN2n2Yknn7fjx3zsCI72NG0V?usp=sharing

Environment Details

No response

Output

image image

Additional Context

No response

Hello,

SpeechBrain 1.0 is out and we moved our interfaces in the folder inference. Please see for instance: https://huggingface.co/speechbrain/slu-timers-and-such-direct-librispeech-asr

from speechbrain.inference.SLU import EndToEndSLU
slu = EndToEndSLU.from_hparams("speechbrain/slu-timers-and-such-direct-librispeech-asr")
slu.decode_file("speechbrain/slu-timers-and-such-direct-librispeech-asr/math.wav")

The docs were not updated, was confused there.
Thank you so much.