Python bindings for whisper.cpp
Go to file
2023-01-30 17:39:34 +01:00
.github/workflows
whisper.cpp@1d716d6e34
.gitignore
.gitmodules
pyproject.toml
README.md
setup.py fix wheel build? 2023-01-30 17:39:34 +01: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.