Go to file
potatoh d175d935de
Delete setup.py
2023-04-07 19:15:31 -06: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
README.md Update README.md 2022-12-11 09:18:36 +00:00
pyproject.toml Create pyproject.toml 2022-12-12 18:22:49 +00:00
whispercpp.pxd added buffer support 2023-04-07 20:09:10 -05:00
whispercpp.pyx added buffer support 2023-04-07 20:09:10 -05:00

README.md

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.