whisperX icon indicating copy to clipboard operation
whisperX copied to clipboard

Streaming with whisperx

Open evanbrociner opened this issue 1 year ago • 7 comments

Is there a repo or code that allows for real-time streaming with whisperx? Thank you!

evanbrociner avatar Sep 19 '23 14:09 evanbrociner

Whisper itself can't stream, so I dont think so, unfortunately

Arche151 avatar Sep 20 '23 06:09 Arche151

This issue from whisper.cpp comes to mind Support for realtime audio input . It highlights some issues with doing realtime transcription with whisper in general.

fgn avatar Oct 13 '23 23:10 fgn

Would be great to add support for streaming, because folks have been using Whisper.cpp successfully and implemented streaming - for example gladia.io.

andupotorac avatar Nov 17 '23 01:11 andupotorac

This submission will allow for segmented streaming using Whisperx, improving client response time, but not for underlying streaming implementations.

Pull request here

chengxs1994 avatar Dec 19 '23 02:12 chengxs1994

So this can now be used to transcribe live from an audiostream like mic input? If yes, do you maybe know how?

SalomonKisters avatar Apr 04 '24 04:04 SalomonKisters

any update?

roysG avatar Apr 23 '24 09:04 roysG

Whisper itself can't stream, so I dont think so, unfortunately

I assume it is possible, sort of, because whisperx splits the audio to chunks, it can proccess each chunk individually and stream it after finished, instead of waiting for all chunks.

would be nice feature.

ararTP avatar Jul 23 '24 08:07 ararTP