add the new log

This commit is contained in:
samiabat 2025-04-17 22:46:01 +03:00
parent 10990fb432
commit ae9aa8dd53

1
api.py
View File

@ -279,6 +279,7 @@ def get_sovits_weights(sovits_path):
is_exist_s2gv3=os.path.exists(path_sovits_v3) is_exist_s2gv3=os.path.exists(path_sovits_v3)
version, model_version, if_lora_v3=get_sovits_version_from_path_fast(sovits_path) version, model_version, if_lora_v3=get_sovits_version_from_path_fast(sovits_path)
logger.info(f"the version of version: {version}, model version: {model_version}, if lora v3: {if_lora_v3}")
if if_lora_v3==True and is_exist_s2gv3==False: if if_lora_v3==True and is_exist_s2gv3==False:
logger.info("SoVITS V3 底模缺失,无法加载相应 LoRA 权重") logger.info("SoVITS V3 底模缺失,无法加载相应 LoRA 权重")