Skip to content

Commit

Permalink
Merge pull request #172 from 2024-SummerBootcamp-Team/bug/#70
Browse files Browse the repository at this point in the history
[fix/#70] audio stream 누락 문제 해결
  • Loading branch information
kalsteve authored Jul 30, 2024
2 parents 12ee2a4 + 6289c2d commit f4b2d6d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/services/bubble_service.py
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ async def create_bubble(chat_id: int, content: str, db: Session):
loop = asyncio.get_event_loop()
gpt_task = loop.create_task(async_gpt_stream(text=content, message_queue=response_queue, chat_id=chat_id, prompt=prompt, tts_id=tts_id))

while not gpt_task.done():
while True:
message = await response_queue.get()
if message is None:
break
Expand Down

0 comments on commit f4b2d6d

Please sign in to comment.