|  | ||
|---|---|---|
| whisper.cpp@85c9ac18b5 | ||
| .gitignore | ||
| .gitmodules | ||
| README.md | ||
| setup.py | ||
| whispercpp.pxd | ||
| whispercpp.pyx | ||
		
			
				
				README.md
			
		
		
			
			
		
	
	Python bindings for whisper.cpp
pip install git+https://github.com/o4dev/whispercpp.py
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.