ardra
RRunPod
•Created by ardra on 1/9/2024 in #⚡|serverless
Real time transcription using Serverless
please confirm the working is same as the below.
1. The handler.py will have code that creates a websocket server that listens on a channel
2. Front end connects to this websocket channel and sends chunks
3. Whisper processes the chunks and sends back the text on the websocket channel to the front end
4. When user stops the recording on the front end, the front end sends some kind of signal or command on the websocket channel to close the socket/channel and stop the websocket server, and handler,py will have no more operations to run, and the serverless instance stops.
5. there is no significant use for json input.
7 replies