This is a client for whisper.cpp with ZMQ.
Install
pip install git+https://github.com/whitead/shout.git
Install ZMQ whisper server
git clone https://github.com/whitead/whisper.cpp
cd whisper.cpp
make streammq
streammq --step -1
Ensure you have a running ZMQ whisper server.
import shout
s = shout.Subscriber()
print(s.get())
import shout
async def func():
s = shout.SubscriberAsync()
print(await s.get())