You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Browse filesBrowse the repository at this point in the historyBrowse files
mekotools
committed
feat(server): expose transcription progress via GET /progress
Adds a pollable progress endpoint to the HTTP server: while a
transcription runs, do_transcribe updates g_server_progress (0..100)
in its chunk loop; GET /progress returns {"busy": bool, "progress": -1..100}.
Motivation: the polyschnack webapp needs honest progress for long
diarization/ASR jobs; the server previously had no progress channel
over HTTP (the whisper progress callback only printed to stderr).
Notes:
- One job per container today, so a single atomic is honest; with
--server-workers concurrency this needs per-request scoping (future work).
- progress_scope guard resets busy/progress on every exit path.
0 commit comments