Skip to content

Commit

Permalink
remove phantom parameter (#612)
Browse files Browse the repository at this point in the history
  • Loading branch information
ajar98 authored Jul 5, 2024
1 parent c580d13 commit be5f78e
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 3 deletions.
2 changes: 1 addition & 1 deletion vocode/streaming/synthesizer/base_synthesizer.py
Original file line number Diff line number Diff line change
Expand Up @@ -428,7 +428,7 @@ async def send_chunks():
miniaudio_worker.consume_nonblocking(None) # sentinel

try:
asyncio_create_task(send_chunks(), reraise_cancelled=True)
asyncio_create_task(send_chunks())

# Await the output queue of the MiniaudioWorker and yield the wav chunks in another loop
while True:
Expand Down
1 change: 0 additions & 1 deletion vocode/streaming/utils/create_task.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@

def asyncio_create_task(
*args,
reraise_cancelled: bool = False,
**kwargs,
) -> asyncio.Task:
task = asyncio.create_task(*args, **kwargs)
Expand Down
1 change: 0 additions & 1 deletion vocode/streaming/utils/worker.py
Original file line number Diff line number Diff line change
Expand Up @@ -226,7 +226,6 @@ async def _run_loop(self):
self.interruptible_event = item
self.current_task = asyncio_create_task(
self.process(item),
reraise_cancelled=True,
)

try:
Expand Down

0 comments on commit be5f78e

Please sign in to comment.