diff --git a/infer/modules/uvr5/preprocess.py b/infer/modules/uvr5/preprocess.py index 86c3ab0..dae2739 100644 --- a/infer/modules/uvr5/preprocess.py +++ b/infer/modules/uvr5/preprocess.py @@ -26,7 +26,7 @@ class AudioPre: "agg": agg, "high_end_process": "mirroring", } - mp = ModelParameters("lib/uvr5_pack/lib_v5/modelparams/4band_v2.json") + mp = ModelParameters("infer/lib/uvr5_pack/lib_v5/modelparams/4band_v2.json") model = Nets.CascadedASPPNet(mp.param["bins"] * 2) cpk = torch.load(model_path, map_location="cpu") model.load_state_dict(cpk)