mirror of
https://github.com/RVC-Boss/GPT-SoVITS.git
synced 2025-12-18 19:07:04 +08:00
fix inp_path
This commit is contained in:
parent
7a1c89f429
commit
03cc42664b
@ -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
|
||||
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:
|
||||
paths = [path.name for path in paths]
|
||||
for path in paths:
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user