14 lines
256 B
Markdown
14 lines
256 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)
|
|
```
|