From 474704fef407b5e31de5ba419cac97ba1206b2fb Mon Sep 17 00:00:00 2001 From: Sucial <75163782+SUC-DriverOld@users.noreply.github.com> Date: Sun, 23 Feb 2025 16:06:46 +0800 Subject: [PATCH] Update webui.py --- tools/uvr5/webui.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/uvr5/webui.py b/tools/uvr5/webui.py index 8e75870c..278118a8 100644 --- a/tools/uvr5/webui.py +++ b/tools/uvr5/webui.py @@ -58,7 +58,7 @@ def uvr(model_name, inp_root, save_root_vocal, paths, save_root_ins, agg, format is_half=is_half ) if not os.path.exists(os.path.join(weight_uvr5_root, model_name + ".yaml")): - infos.append("Warning: You are using a model without a configuration file. The program will automatically use the default configuration file. However, the default configuration file cannot guarantee that all models will run successfully. You can manually place the model configuration file into 'tools/uvr5/uvr5w_weights' and ensure that the configuration file is named as '.yaml' then try it again. (For example, the configuration file corresponding to the model 'bs_roformer_ep_368_sdr_12.9628' should be 'bs_roformer_ep_368_sdr_12.9628.yaml'.) Or you can just ignore this warning.") + infos.append("Warning: You are using a model without a configuration file. The program will automatically use the default configuration file. However, the default configuration file cannot guarantee that all models will run successfully. You can manually place the model configuration file into 'tools/uvr5/uvr5w_weights' and ensure that the configuration file is named as '.yaml' then try it again. (For example, the configuration file corresponding to the model 'bs_roformer_ep_368_sdr_12.9628.ckpt' should be 'bs_roformer_ep_368_sdr_12.9628.yaml'.) Or you can just ignore this warning.") yield "\n".join(infos) else: func = AudioPre if "DeEcho" not in model_name else AudioPreDeEcho