mirror of
https://github.com/RVC-Project/Retrieval-based-Voice-Conversion-WebUI.git
synced 2025-03-11 08:15:01 +08:00
Add files via upload
This commit is contained in:
parent
2c158bfeac
commit
8054281b24
@ -57,7 +57,7 @@ def uvr(model_name, inp_root, save_root_vocal, paths, save_root_ins, agg, format
|
|||||||
traceback.print_exc()
|
traceback.print_exc()
|
||||||
if need_reformat == 1:
|
if need_reformat == 1:
|
||||||
tmp_path = "%s/%s.reformatted.wav" % (
|
tmp_path = "%s/%s.reformatted.wav" % (
|
||||||
os.path.join("tmp"),
|
os.path.join(os.environ["TEMP"]),
|
||||||
os.path.basename(inp_path),
|
os.path.basename(inp_path),
|
||||||
)
|
)
|
||||||
os.system(
|
os.system(
|
||||||
|
@ -189,7 +189,7 @@ class AudioPreDeEcho:
|
|||||||
"agg": agg,
|
"agg": agg,
|
||||||
"high_end_process": "mirroring",
|
"high_end_process": "mirroring",
|
||||||
}
|
}
|
||||||
mp = ModelParameters("lib/uvr5_pack/lib_v5/modelparams/4band_v3.json")
|
mp = ModelParameters("infer/lib/uvr5_pack/lib_v5/modelparams/4band_v3.json")
|
||||||
nout = 64 if "DeReverb" in model_path else 48
|
nout = 64 if "DeReverb" in model_path else 48
|
||||||
model = CascadedNet(mp.param["bins"] * 2, nout)
|
model = CascadedNet(mp.param["bins"] * 2, nout)
|
||||||
cpk = torch.load(model_path, map_location="cpu")
|
cpk = torch.load(model_path, map_location="cpu")
|
||||||
|
Loading…
Reference in New Issue
Block a user