From 5b2519d0e94d7bcafca12dcd77d1c4589f3afa5d Mon Sep 17 00:00:00 2001 From: wataru Date: Tue, 14 Mar 2023 18:57:18 +0900 Subject: [PATCH] butfix: An exception occurred due to a negative dstId --- server/voice_changer/SoVitsSvc40v2/SoVitsSvc40v2.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/voice_changer/SoVitsSvc40v2/SoVitsSvc40v2.py b/server/voice_changer/SoVitsSvc40v2/SoVitsSvc40v2.py index 6da94f13..eb2dd15c 100644 --- a/server/voice_changer/SoVitsSvc40v2/SoVitsSvc40v2.py +++ b/server/voice_changer/SoVitsSvc40v2/SoVitsSvc40v2.py @@ -29,7 +29,7 @@ providers = ['OpenVINOExecutionProvider', "CUDAExecutionProvider", "DmlExecution @dataclass class SoVitsSvc40v2Settings(): gpu: int = 0 - dstId: int = -1 + dstId: int = 0 f0Detector: str = "dio" # dio or harvest tran: int = 20