You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Installing on ubuntu i got this error message. I'm non very good with python and i was wondering if someone could lend a hand.
./start-webui.sh
venv venv/bin/python
Traceback (most recent call last):
File "app.py", line 5, in
from modules.whisper_Inference import WhisperInference
File "/home/whisper/Scaricati/Whisper-WebUI-master/modules/whisper_Inference.py", line 17, in
class WhisperInference(BaseInterface):
File "/home/whisper/Scaricati/Whisper-WebUI-master/modules/whisper_Inference.py", line 288, in WhisperInference
) -> Tuple[list[dict], float]:
TypeError: 'type' object is not subscriptable
thanks for any help
The text was updated successfully, but these errors were encountered:
Hi @hirowa, This syntax error happens if you are using a Python version older than 3.9,
I tried to fix this in #132 so that It should work with older verison of python.
If you try the latest version of this web ui, it should work fine. Please let me know if you still encounter an error.
Which OS are you using?
Installing on ubuntu i got this error message. I'm non very good with python and i was wondering if someone could lend a hand.
./start-webui.sh
venv venv/bin/python
Traceback (most recent call last):
File "app.py", line 5, in
from modules.whisper_Inference import WhisperInference
File "/home/whisper/Scaricati/Whisper-WebUI-master/modules/whisper_Inference.py", line 17, in
class WhisperInference(BaseInterface):
File "/home/whisper/Scaricati/Whisper-WebUI-master/modules/whisper_Inference.py", line 288, in WhisperInference
) -> Tuple[list[dict], float]:
TypeError: 'type' object is not subscriptable
thanks for any help
The text was updated successfully, but these errors were encountered: