whitead / shout

Async whisper

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

shout

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 

Quickstart

Ensure you have a running ZMQ whisper server.

import shout

s = shout.Subscriber()

print(s.get())

Asynchronous

import shout

async def func():
    s = shout.SubscriberAsync()
    print(await s.get())

About

Async whisper

License:MIT License


Languages

Language:Python 61.2%Language:Jupyter Notebook 38.8%