lampts / whispercpp.py

Python bindings for whisper.cpp

Repository from Github https://github.comlampts/whispercpp.pyRepository from Github https://github.comlampts/whispercpp.py

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.

About

Python bindings for whisper.cpp


Languages

Language:Python 100.0%