Update README

This commit is contained in:
Luke Southam 2022-12-11 09:14:04 +00:00 committed by GitHub
parent c7a8d72e70
commit 107b4d5e3d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

9
README
View File

@ -1,4 +1,13 @@
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)
```