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

Update speech_recognition_thread.py #8

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

andalibmalit
Copy link

Changed Whisper model initialization to the proper format per official code; otherwise this line triggers a RuntimeError

(I am running Python 3.10.15 + whispercpp 0.0.17 on Ubuntu 22.04 if you want to try reproducing)

Changed Whisper model initialization to the proper format per [official code](https://github.com/aarnphm/whispercpp/blob/main/src/whispercpp/__init__.py); otherwise this line triggers a RuntimeError
@vietanhdev
Copy link
Member

Hi @andalibmalit,
Thank you very much for you contribution.
In the latest release we replaced that module with this one: https://github.com/stlukey/whispercpp.py.
Please checkout the code.
We've also added RAG/LlamaIndex recently.

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

Successfully merging this pull request may close these issues.

2 participants