-
Notifications
You must be signed in to change notification settings - Fork 8
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
Implement whisper #28
base: main
Are you sure you want to change the base?
Implement whisper #28
Conversation
Cool, thanks for this. Having trouble running
Seeing issues like openai/whisper#683 (comment) and python-poetry/poetry#8673 -- guessing there's some issue with Triton builds not being available for the Mac platform? Does Triton need to be built separately unless you're on Linux? |
I see that triton dependency were in the project before my changes, but i know that openai-whisper with poetry doesnt work very well. because of that in the build i put |
Implement whisper in worker
receive the transcriptions request
download file from queenbee
because of whisper dependencies sizes need to change the onefile to onedir because else reach 4gb max size to onefile.
here an example how to test with last openai client.
`from openai import OpenAI
client = OpenAI(api_key="123", base_url="http://localhost:8000/v1")
audio_file= open("audio.mp3", "rb")
transcript = client.audio.transcriptions.create(
model="base",
file=audio_file
)
print(transcript)`