Skip to content

Commit

Permalink
fix use cuda argument
Browse files Browse the repository at this point in the history
  • Loading branch information
mreilaender committed Jan 22, 2025
1 parent 4e5a557 commit 5f45edf
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions wyoming_piper/process.py
Original file line number Diff line number Diff line change
Expand Up @@ -148,8 +148,8 @@ async def get_process(self, voice_name: Optional[str] = None) -> PiperProcess:
if self.args.noise_w:
piper_args.extend(["--noise-w", str(self.args.noise_w)])

if self.args.cuda:
piper_args.extend(["--cuda"])
if self.args.use_cuda:
piper_args.extend(["--use-cuda"])

_LOGGER.debug(
"Starting piper process: %s args=%s", self.args.piper, piper_args
Expand Down

0 comments on commit 5f45edf

Please sign in to comment.