Add files via upload

This commit is contained in:
liujing04
2023-04-16 18:56:20 +08:00
committed by GitHub
parent 5bcaa171ea
commit 0719b4aa5e
6 changed files with 18 additions and 5 deletions

View File

@@ -139,6 +139,8 @@ def vc_single(
if hubert_model == None:
load_hubert()
if_f0 = cpt.get("f0", 1)
file_index = file_index.strip(" ").strip('"').strip("\n").strip('"').strip(" ").replace("trained","added")#防止小白写错,自动帮他替换掉
file_big_npy = file_big_npy.strip(" ").strip('"').strip("\n").strip('"').strip(" ")
audio_opt = vc.pipeline(
hubert_model,
net_g,
@@ -936,7 +938,7 @@ with gr.Blocks() as app:
minimum=0,
maximum=1,
label="检索特征占比",
value=1,
value=0.6,
interactive=True,
)
f0_file = gr.File(label=i18n("F0曲线文件, 可选, 一行一个音高, 代替默认F0及升降调"))