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:
@@ -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,
|
||||
)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user