From 5f45edfd6cad52d8e5e88b951b9e95079d009a64 Mon Sep 17 00:00:00 2001 From: mreilaender Date: Wed, 22 Jan 2025 08:50:58 +0000 Subject: [PATCH] fix use cuda argument --- wyoming_piper/process.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/wyoming_piper/process.py b/wyoming_piper/process.py index 8c136be..5744700 100644 --- a/wyoming_piper/process.py +++ b/wyoming_piper/process.py @@ -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