1
0
mirror of https://github.com/fumiama/Retrieval-based-Voice-Conversion-WebUI.git synced 2026-06-09 04:29:50 +08:00

fix(rt): replace with new f0

This commit is contained in:
源文雨
2024-11-29 00:35:10 +09:00
parent 51c85fcc49
commit ef9db1fd44
4 changed files with 23 additions and 117 deletions

View File

@@ -31,7 +31,7 @@ def load_synthesizer(
pth_path: torch.serialization.FILE_LIKE, device=torch.device("cpu")
):
return get_synthesizer(
torch.load(pth_path, map_location=torch.device("cpu")),
torch.load(pth_path, map_location=torch.device("cpu"), weights_only=True),
device,
)