WhisperLiveKit / whisper_fastapi_online_server.py

Commit History

undiarized text is assigned to last speaker, with buffer information; traceback is used to format_exc errors
bd15235

qfuxa commited on

// execution for diarization and transcription
b0d49ce

qfuxa commited on

new buffer format
d98de94

qfuxa commited on

diarization now works at word - not chunk - level!
6143582

qfuxa commited on

Enhance diarization logic to improve speaker attribution : corrects several bugs
1ebc0b3

qfuxa commited on

DiartDiarization loaded in asynccontextmanager lifespan
5f66658

qfuxa commited on

Improve speaker handling; update sleep duration and manage speaker transitions more effectively
56a936d

qfuxa commited on

add parameter to disable transcription (only diarization), add time in output
d920423

qfuxa commited on

Implement logging for WebSocket events and FFmpeg process management; remove obsolete test file
d5886b3

qfuxa commited on

handle ffmpeg timeouts > 5s
d7ef93c

Quentin Fuxa commited on

Add get_buffer method to retrieve unvalidated buffer in string format
bd1016f

Quentin Fuxa commited on

optimize ffmpeg buffer reading :round duration to nearest lower 0.1s
022a086

Quentin Fuxa commited on

Use lifespan to load the model just one
6cf18f3

qfuxa commited on

remove logs handler
59ba1f3

qfuxa commited on

all text-related classes now share a common TimedText base class
b81e509

qfuxa commited on

buffer is now transcript.text
9076fea

qfuxa commited on

add logging config to server
df1de84

SilasKieser commited on

Merge branch 'main' into fix-sentencesegmenter
02f90cf

qfuxa commited on

rename to_flush to concatenate_tsw
b7c5736

SilasKieser commited on

move to src
c449242

qfuxa commited on

first speaker is "0" no more None
aafc196

qfuxa commited on

add diarization (beta). Disabled by default
6933483

qfuxa commited on

split whisper_online.py into smaller files
cc68f3b

qfuxa commited on

del online once webstreaming is finished
9cbac96

qfuxa commited on

specify encoding to ensure Python reads file as UTF-8
f52a5ae

wldud5192 commited on

no online conflict when multiple users
aa0ba59

qfuxa commited on

black formating
5fdb08e

SilasKieser commited on

Append full transcription in websocket processing
122368b

qfuxa commited on

Batch unprocessed audio to reduce Whisper streaming calls
c960d15

qfuxa commited on

/ws to /asr to distinguish protocol ws:// from endpoint
1cea20a

qfuxa commited on

better buffer gestion
bee27c6

qfuxa commited on

add fastapi server with live webm to pcm conversion and web page showing both complete transcription and partial transcription
104f7bd

qfuxa commited on