/whispercpp.py

Python bindings for whisper.cpp

Primary LanguagePythonMIT LicenseMIT

Python bindings for whisper.cpp

Buy Me A Coffee


pip install git+https://github.com/stlukey/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.