Go to file
Luke Southam 7af678159c
Update whispercpp.pyx
2023-07-08 15:22:52 +01:00
.github/workflows Update build_wheels.yml 2022-12-14 16:21:17 +00:00
whisper.cpp@0a2d1210bc added buffer support 2023-04-07 20:09:10 -05:00
.gitignore Added git ignore. 2022-12-11 00:09:45 +00:00
.gitmodules Added whisper.cpp submodule 2022-12-10 23:29:58 +00:00
LICENSE Create LICENSE 2023-06-02 19:25:55 +01:00
README.md Update README.md 2023-06-02 23:39:05 +01:00
pyproject.toml Create pyproject.toml 2022-12-12 18:22:49 +00:00
setup.py added setup.py 2023-04-07 20:24:34 -05:00
whispercpp.pxd added buffer support 2023-04-07 20:09:10 -05:00
whispercpp.pyx Update whispercpp.pyx 2023-07-08 15:22:52 +01:00

README.md

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.