Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

need help with install #65

Closed
canmanita opened this issue Nov 20, 2023 · 2 comments
Closed

need help with install #65

canmanita opened this issue Nov 20, 2023 · 2 comments

Comments

@canmanita
Copy link

Which OS are you using?

  • OS: Ubuntu 20.04.1 64Bit.

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

@hirowa
Copy link

hirowa commented Apr 4, 2024

How did you fix it? @canmanita

@jhj0517
Copy link
Owner

jhj0517 commented Apr 4, 2024

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants