8000 GitHub - shimudong/whispercpp.py: Python bindings for whisper.cpp
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

shimudong/whispercpp.py

 
 

Repository files navigation

Python bindings for whisper.cpp

Buy Me A Coffee

Change the lang from 'en' to 'zh' and add an api script.


pip install git+https://github.com/shimudong/whispercpp.py

from whispercpp import Whisper

w = Whisper('tiny')

result = w.transcribe("./wav_file/get.wav")
text = w.extract_text(result)

Use the api

First
python python_api.py
Then get a request
python api_res.py

Note: default parameters might need to be tweaked. See Whispercpp.pyx.

About

Python bindings for whisper.cpp

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%
0