|
|
||
|---|---|---|
| .github/workflows | ||
| whisper.cpp@0a2d1210bc | ||
| .gitignore | ||
| .gitmodules | ||
| LICENSE | ||
| README.md | ||
| pyproject.toml | ||
| setup.py | ||
| whispercpp.pxd | ||
| whispercpp.pyx | ||
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.