Skip to content

Commit 176417e

Browse files
Format code (#901)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
1 parent 144073a commit 176417e

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

app.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -236,9 +236,7 @@ def vc_single(
236236
vc_input3 = gr.Audio(label="上传音频(长度小于90秒)")
237237
vc_transform0 = gr.Number(label=i18n("变调(整数, 半音数量, 升八度12降八度-12)"), value=0)
238238
f0method0 = gr.Radio(
239-
label=i18n(
240-
"选择音高提取算法,输入歌声可用pm提速,harvest低音好但巨慢无比,crepe效果好但吃GPU"
241-
),
239+
label=i18n("选择音高提取算法,输入歌声可用pm提速,harvest低音好但巨慢无比,crepe效果好但吃GPU"),
242240
choices=["pm", "harvest", "crepe", "rmvpe"],
243241
value="pm",
244242
interactive=True,

infer-web.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -399,6 +399,7 @@ def uvr(model_name, inp_root, save_root_vocal, paths, save_root_ins, agg, format
399399
torch.cuda.empty_cache()
400400
yield "\n".join(infos)
401401

402+
402403
def get_index_path_from_model(sid):
403404
sel_index_path = ""
404405
name = os.path.join("logs", sid.split(".")[0], "")
@@ -410,6 +411,7 @@ def get_index_path_from_model(sid):
410411
break
411412
return sel_index_path
412413

414+
413415
# 一个选项卡全局只能有一个音色
414416
def get_vc(sid, to_return_protect0, to_return_protect1):
415417
global n_spk, tgt_sr, net_g, vc, cpt, version

0 commit comments

Comments
 (0)