whispercpp.py/README.md
2022-12-11 09:18:36 +00:00

17 lines
328 B
Markdown

Python bindings for whisper.cpp
===============================
`pip install git+https://github.com/o4dev/whispercpp.py`
```python
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.