Python bindings for whisper.cpp
Go to file
2022-12-14 16:24:17 +00:00
.github/workflows Update build_wheels.yml 2022-12-14 16:21:17 +00:00
whisper.cpp@85c9ac18b5
.gitignore
.gitmodules
pyproject.toml Create pyproject.toml 2022-12-12 18:22:49 +00:00
README.md
setup.py Update setup.py 2022-12-14 16:24:17 +00:00
whispercpp.pxd
whispercpp.pyx

Python bindings for whisper.cpp

pip install git+https://github.com/o4dev/whispercpp.py

from whispercpp import Whisper

w = Whisper('tiny')

result = w.transcribe("myfile.mp3")
text = w.extract_text(result)

Note: default parameters might need to be tweaked. See Whispercpp.pyx.