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

Transcribe the remaining audio data when using the real-time mode #28

Open ethanzrd opened 1 year ago

ethanzrd commented 1 year ago

When ending the stream, there may be remaining audio data that isn't long enough to be transcribed (following the pre-configured transcription timeout). If the audio data contains speech, it should be transcribed and sent back to the client as well.