mirror of
https://github.com/RVC-Boss/GPT-SoVITS.git
synced 2025-10-07 23:48:48 +08:00
add detail
This commit is contained in:
parent
88934472b0
commit
14fda05eed
11
webui.py
11
webui.py
@ -166,7 +166,7 @@ def open_uvr5():
|
|||||||
if p_uvr5 is None:
|
if p_uvr5 is None:
|
||||||
cmd = '"%s" tools/uvr5/webui.py "%s" %s %s %s'%(python_exec,infer_device,is_half,webui_port_uvr5,is_share)
|
cmd = '"%s" tools/uvr5/webui.py "%s" %s %s %s'%(python_exec,infer_device,is_half,webui_port_uvr5,is_share)
|
||||||
print(cmd)
|
print(cmd)
|
||||||
yield i18n("UVR5 进程开启中"), {"__type__":"update","visible":False}, {"__type__":"update","visible":True}
|
yield i18n("UVR5 进程已开启,等待页面跳转。"), {"__type__":"update","visible":False}, {"__type__":"update","visible":True}
|
||||||
p_uvr5 = Popen(cmd, shell=True)
|
p_uvr5 = Popen(cmd, shell=True)
|
||||||
else:
|
else:
|
||||||
yield "已有正在进行的进程,需先终止才能重新开启",{"__type__":"update","visible":False},{"__type__":"update","visible":True}
|
yield "已有正在进行的进程,需先终止才能重新开启",{"__type__":"update","visible":False},{"__type__":"update","visible":True}
|
||||||
@ -826,19 +826,22 @@ with gr.Blocks(title="GPT-SoVITS WebUI") as app:
|
|||||||
label = i18n("ASR 模型"),
|
label = i18n("ASR 模型"),
|
||||||
choices = list(asr_dict.keys()),
|
choices = list(asr_dict.keys()),
|
||||||
interactive = True,
|
interactive = True,
|
||||||
value="达摩 ASR (中文)"
|
value = "达摩 ASR (中文)",
|
||||||
|
info = "右侧两项跟随此项刷新"
|
||||||
)
|
)
|
||||||
asr_size = gr.Dropdown(
|
asr_size = gr.Dropdown(
|
||||||
label = i18n("ASR 模型尺寸"),
|
label = i18n("ASR 模型尺寸"),
|
||||||
choices = ["large"],
|
choices = ["large"],
|
||||||
interactive = True,
|
interactive = True,
|
||||||
value="large"
|
value = "large",
|
||||||
|
info = '本地 (-local)/下载'
|
||||||
)
|
)
|
||||||
asr_lang = gr.Dropdown(
|
asr_lang = gr.Dropdown(
|
||||||
label = i18n("ASR 语言设置"),
|
label = i18n("ASR 语言设置"),
|
||||||
choices = ["zh"],
|
choices = ["zh"],
|
||||||
interactive = True,
|
interactive = True,
|
||||||
value="zh"
|
value = "zh",
|
||||||
|
info = "自动 (auto)/指定"
|
||||||
)
|
)
|
||||||
with gr.Row():
|
with gr.Row():
|
||||||
asr_info = gr.Textbox(label=i18n("语音识别进程输出信息"))
|
asr_info = gr.Textbox(label=i18n("语音识别进程输出信息"))
|
||||||
|
Loading…
x
Reference in New Issue
Block a user