Go to file
ed barz 77e743482a README pip link edit 2023-08-22 19:29:47 +02: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 README pip link edit 2023-08-22 19:29:47 +02: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 Byte convert inside 2023-08-14 14:01:15 +01:00

README.md

Python bindings for whisper.cpp


pip install git+https://git.brz9.dev/ed/whispercpp.py

from whispercpp import Whisper

w = Whisper('tiny')

result = w.transcribe("myfile.mp3", lang="en")
text = w.extract_text(result)

Note: default parameters might need to be tweaked. See Whispercpp.pyx.