mirror of
https://github.com/w-okada/voice-changer.git
synced 2025-03-13 03:17:41 +03:00
update
This commit is contained in:
parent
18d0012c29
commit
976eaa6333
@ -97,7 +97,11 @@ class SoVitsSvc40:
|
||||
self.settings.pyTorchModelFile = modelFile
|
||||
self.settings.onnxModelFile = None
|
||||
|
||||
clusterTorchModel = params["files"]["soVitsSvc40Cluster"]
|
||||
clusterTorchModel = (
|
||||
params["files"]["soVitsSvc40Cluster"]
|
||||
if "soVitsSvc40Cluster" in params["files"]
|
||||
else None
|
||||
)
|
||||
|
||||
content_vec_path = self.params.content_vec_500
|
||||
content_vec_onnx_path = self.params.content_vec_500_onnx
|
||||
|
Loading…
x
Reference in New Issue
Block a user