Skip to content

Latest commit

 

History

History
16 lines (11 loc) · 328 Bytes

README.md

File metadata and controls

16 lines (11 loc) · 328 Bytes

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.