JosefAlbers / whisper-turbo-mlx

Blazing fast whisper turbo for ASR (speech-to-text) tasks
MIT License
169 stars 9 forks source link

Requirement for Python 3.12 #4

Closed Zeleni9 closed 3 weeks ago

Zeleni9 commented 3 weeks ago

Hey, thanks for providing another implementation for Whisper Turbo, I tried installing it, but it requires Python 3.12 is that really neccessary to pip install it?

JosefAlbers commented 3 weeks ago

Well, you don't have to pip install it - the entire thing (whisper model, tokenizer, and all the loading/inference code) is contained within that short snippet of code in a single file, so you can try running it directly from source. The pip install is mainly there to give you the convenient wtm command instead of typing something like python path/to/code/whisper-turbo-mlx each time.

Regarding Python 3.12 - pip should still let you install it with earlier Python versions, even though 3.12 is listed in the metadata. Just keep in mind there might be compatibility issues depending on what Python features the code uses.

Let me know if you run into any issues!