Format code (#901)

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
This commit is contained in:
github-actions[bot]
2023-07-31 11:47:33 +08:00
committed by GitHub
parent 144073a924
commit 176417e78e
2 changed files with 3 additions and 3 deletions

View File

@@ -399,6 +399,7 @@ def uvr(model_name, inp_root, save_root_vocal, paths, save_root_ins, agg, format
torch.cuda.empty_cache()
yield "\n".join(infos)
def get_index_path_from_model(sid):
sel_index_path = ""
name = os.path.join("logs", sid.split(".")[0], "")
@@ -410,6 +411,7 @@ def get_index_path_from_model(sid):
break
return sel_index_path
# 一个选项卡全局只能有一个音色
def get_vc(sid, to_return_protect0, to_return_protect1):
global n_spk, tgt_sr, net_g, vc, cpt, version