whitphx / streamlit-stt-app

Real time web based Speech-to-Text app with Streamlit
https://share.streamlit.io/whitphx/streamlit-stt-app/main/app_deepspeech.py
MIT License
221 stars 133 forks source link

Integrate websocket client in app_sst_with_video() #138

Closed sleekmike closed 1 year ago

sleekmike commented 1 year ago

Hello,

I am trying to integrate a web-socket client code into the app "app_sst_with_video" but I have been having several issues. I have successfully integrated and used whisper model for STT with app_sst_with_video() but I want to deploy the whisper model on a different server and then connect to it via WebSocket. I am converting "frames" to base64 before sending to WebSocket endpoint.

I have been having threading issues and also not getting any transcription at all. I have read the documentation and searched through "Issues" before opening this one, please I need help to solve my problem ASAP. Thanks!