fix inp_path

This commit is contained in:
Alex Z 2024-01-24 17:41:45 +08:00 committed by GitHub
parent 7a1c89f429
commit 03cc42664b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -47,7 +47,7 @@ def uvr(model_name, inp_root, save_root_vocal, paths, save_root_ins, agg, format
) )
is_hp3 = "HP3" in model_name is_hp3 = "HP3" in model_name
if inp_root != "": if inp_root != "":
paths = [os.path.join(inp_root, name) for name in os.listdir(inp_root)] paths = [name for name in os.listdir(inp_root)]
else: else:
paths = [path.name for path in paths] paths = [path.name for path in paths]
for path in paths: for path in paths: