shirayu / whispering

Streaming transcriber with whisper
MIT License
682 stars 53 forks source link

Add WebSocket interface #7

Closed colemanhindes closed 2 years ago

colemanhindes commented 2 years ago

Definitely a bit out of scope but was curious if anyone had ideas for how to forward microphone audio to a remote server in realtime to run this (since I don't have a local GPU)

shirayu commented 2 years ago

Good suggestion. I also want to use it. Adding WebSocket interface is an option.

shirayu commented 2 years ago

I implemented. Please feel free to make issues if you get problems.

https://github.com/shirayu/whisper_streaming#example-of-web-socket