Skip to content

Commit

Permalink
fix elevenlabs
Browse files Browse the repository at this point in the history
  • Loading branch information
keepingitneil committed Feb 7, 2024
1 parent e11d928 commit 81b34a3
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -196,12 +196,14 @@ async def _run(self, max_retry: int) -> None:
started = False
while not ws.closed:
text = None
if retry_text_queue.empty():
if not retry_text_queue.empty():
text = await retry_text_queue.get()
retry_text_queue.task_done()
else:
text = await self._queue.get()

print("NEIL got here", text)

if not started:
self._event_queue.put_nowait(
tts.SynthesisEvent(type=tts.SynthesisEventType.STARTED)
Expand Down

0 comments on commit 81b34a3

Please sign in to comment.