1
0
mirror of https://github.com/fumiama/Retrieval-based-Voice-Conversion-WebUI.git synced 2026-06-08 03:55:47 +08:00

chore(format): run black on dev (#1398)

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
This commit is contained in:
github-actions[bot]
2023-10-08 18:54:15 +08:00
committed by GitHub
parent 5c609190a2
commit 634ba76cfa
4 changed files with 51 additions and 51 deletions

View File

@@ -34,7 +34,7 @@ def uvr(model_name, inp_root, save_root_vocal, paths, save_root_ins, agg, format
os.getenv("weight_uvr5_root"), model_name + ".pth"
),
device=config.device,
is_half=config.is_half
is_half=config.is_half,
)
is_hp3 = "HP3" in model_name
if inp_root != "":
@@ -53,7 +53,7 @@ def uvr(model_name, inp_root, save_root_vocal, paths, save_root_ins, agg, format
):
need_reformat = 0
pre_fun._path_audio_(
inp_path, save_root_ins, save_root_vocal, format0,is_hp3=is_hp3
inp_path, save_root_ins, save_root_vocal, format0, is_hp3=is_hp3
)
done = 1
except: