abdeladim-s / pywhispercpp

Python bindings for whisper.cpp
https://abdeladim-s.github.io/pywhispercpp/
MIT License
180 stars 26 forks source link

Fix 'unknown language', coreml loading and bump whisper #74

Closed PiotrCzapla closed 1 month ago

PiotrCzapla commented 1 month ago

These changes are pretty safe. I’ve tested Whisper 1.7.1, and it’s working well with all tests passing; I’m using it right now. The CoreML was functioning, but it broke when I deleted the build directory because it was being pulled from there. I fixed it the same way we handle loading GGML. I think I have a better solution in mind, but since it’s a substantial change, I’ve decided to put it in a separate pull request.

abdeladim-s commented 1 month ago

I add the dylibs to the libs folder recently to fix an issue but forgot to load them. Thanks @PiotrCzapla for fixing that.