Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions src/api/app/routers/voice_live.py
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,7 @@ async def stop(self) -> None:
if callable(close_fn):
close_result = close_fn()
if asyncio.iscoroutine(close_result):
await close_result
_ = await close_result
Comment thread
Kanchan-Microsoft marked this conversation as resolved.

async def _run(self) -> None:
try:
Expand Down Expand Up @@ -611,7 +611,7 @@ async def text_to_speech(request: Request):
if callable(close_fn):
close_result = close_fn()
if asyncio.iscoroutine(close_result):
await close_result
_ = await close_result

if not audio_chunks:
return Response(status_code=500, content="No audio generated")
Expand Down