Skip to content

Commit

Permalink
Merge pull request #173 from 2024-SummerBootcamp-Team/develop
Browse files Browse the repository at this point in the history
[main] 최신화
  • Loading branch information
kalsteve authored Jul 30, 2024
2 parents 70d70f4 + f4b2d6d commit f281863
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 f281863

Please sign in to comment.