Inference interface uncompatible with Python < 3.9
lucadellalib opened this issue · 1 comments
lucadellalib commented
Describe the bug
The new inference interface is not compatible with python<3.9
. However in setup.py
, we support python>=3.7
. Python 3.8 is probably still one of the most used versions of Python.
Expected behaviour
Inference interface working for python>=3.7
.
To Reproduce
>>> from speechbrain import inference
File ".../lib/python3.8/site-packages/speechbrain/inference/ASR.py", line 790, in StreamingASR
) -> tuple[list, list]:
TypeError: 'type' object is not subscriptable
Environment Details
No response
Relevant Log Output
No response
Additional Context
No response