saharmor / whisper-playground

Build real time speech2text web apps using OpenAI's Whisper https://openai.com/blog/whisper/
MIT License
777 stars 140 forks source link

WIP Whisper Websocket #8

Open chrismbirmingham opened 1 year ago

chrismbirmingham commented 1 year ago

I have added a working websocket with fastAPI. I am still learning react so I'll update that connection after I play around a bit more. If you have any suggestions beyond adding another button for "live" transcription comments and feedback are welcome.

saharmor commented 1 year ago

Looks good @chrismbirmingham. Any reason you've added a new folder with a separate requirements.txt file and environment? Looking forward to tinkering with it.

chrismbirmingham commented 1 year ago

I left app.py as it was in case you care about react vs fastapi. main.py isn't the cleanest code I have ever written but it works. Let me know if you have any questions, but otherwise I'll probably be taking this in a more interactive direction.