1
0
mirror of https://github.com/fumiama/Retrieval-based-Voice-Conversion-WebUI.git synced 2026-06-07 19:40:44 +08:00

fix: no attribute 'FILE_LIKE'' & update instructions

This commit is contained in:
源文雨
2025-06-19 17:25:21 +09:00
parent b88cc1e8fe
commit 6223116f6b
30 changed files with 106 additions and 587 deletions

View File

@@ -40,7 +40,7 @@ if "privateuseone" not in device:
elif torch.backends.mps.is_available():
device = "mps"
else:
import torch_directml
import torch_directml # type: ignore
device = torch_directml.device(torch_directml.default_device())
@@ -89,7 +89,7 @@ printt("load model(s) from {}".format(model_path))
# if hubert model is exist
if os.access(model_path, os.F_OK) == False:
printt(
"Error: Extracting is shut down because %s does not exist, you may download it from https://huggingface.co/lj1995/VoiceConversionWebUI/tree/main"
"Error: Extracting is shut down because %s does not exist."
% model_path
)
exit(0)