Merge branch 'fix/review-2138' into fix/community-integration

# Conflicts:
#	docs/dubbing/translation-engines.md
This commit is contained in:
Palash Debnath
2026-09-17 15:40:36 +05:30
5 changed files with 75 additions and 2 deletions
+1 -1
View File
@@ -1918,7 +1918,7 @@ async def dub_transcribe_stream(
"heuristic",
)
fut_diar = loop.run_in_executor(_gpu_pool, _diarize)
fut_diar = loop.run_in_executor(_gpu_pool, lambda: _asr_work.run(_diarize))
async for _ping in _ping_while(fut_diar):
yield _ping
final_segs, diar_warning, labels_source = fut_diar.result()
+4 -1
View File
@@ -291,7 +291,10 @@ async def stream_task(task_id: str, after_seq: int = 0):
finally:
await task_manager.remove_listener(task_id, q)
return StreamingResponse(_reader(), media_type="text/event-stream")
return StreamingResponse(
_reader(), media_type="text/event-stream",
headers={"Cache-Control": "no-cache, no-transform", "X-Accel-Buffering": "no"},
)
@router.get("/jobs")