mirror of
https://github.com/RVC-Boss/GPT-SoVITS.git
synced 2026-04-29 21:00:42 +08:00
style: move new entries to the middle of the page
This commit is contained in:
parent
5450922d8d
commit
f3a9603eb0
@ -1307,28 +1307,7 @@ with gr.Blocks(title="GPT-SoVITS WebUI", analytics_enabled=False, js=js, css=css
|
||||
)
|
||||
)
|
||||
prompt_text = gr.Textbox(label=i18n("参考音频的文本"), value="", lines=5, max_lines=5, scale=1)
|
||||
with gr.Column(scale=14):
|
||||
prompt_language = gr.Dropdown(
|
||||
label=i18n("参考音频的语种"),
|
||||
choices=list(dict_language.keys()),
|
||||
value=i18n("中文"),
|
||||
)
|
||||
inp_refs = (
|
||||
gr.File(
|
||||
label=i18n(
|
||||
"可选项:通过拖拽多个文件上传多个参考音频(建议同性),平均融合他们的音色。如不填写此项,音色由左侧单个参考音频控制。如是微调模型,建议参考音频全部在微调训练集音色内,底模不用管。"
|
||||
),
|
||||
file_count="multiple",
|
||||
)
|
||||
if model_version not in v3v4set
|
||||
else gr.File(
|
||||
label=i18n(
|
||||
"可选项:通过拖拽多个文件上传多个参考音频(建议同性),平均融合他们的音色。如不填写此项,音色由左侧单个参考音频控制。如是微调模型,建议参考音频全部在微调训练集音色内,底模不用管。"
|
||||
),
|
||||
file_count="multiple",
|
||||
visible=False,
|
||||
)
|
||||
)
|
||||
|
||||
|
||||
SaveSvEmb = gr.Checkbox(
|
||||
label=i18n("保存参考音频的语义向量"),
|
||||
@ -1393,6 +1372,30 @@ with gr.Blocks(title="GPT-SoVITS WebUI", analytics_enabled=False, js=js, css=css
|
||||
show_label=True,
|
||||
visible=True,
|
||||
)
|
||||
|
||||
with gr.Column(scale=14):
|
||||
prompt_language = gr.Dropdown(
|
||||
label=i18n("参考音频的语种"),
|
||||
choices=list(dict_language.keys()),
|
||||
value=i18n("中文"),
|
||||
)
|
||||
inp_refs = (
|
||||
gr.File(
|
||||
label=i18n(
|
||||
"可选项:通过拖拽多个文件上传多个参考音频(建议同性),平均融合他们的音色。如不填写此项,音色由左侧单个参考音频控制。如是微调模型,建议参考音频全部在微调训练集音色内,底模不用管。"
|
||||
),
|
||||
file_count="multiple",
|
||||
)
|
||||
if model_version not in v3v4set
|
||||
else gr.File(
|
||||
label=i18n(
|
||||
"可选项:通过拖拽多个文件上传多个参考音频(建议同性),平均融合他们的音色。如不填写此项,音色由左侧单个参考音频控制。如是微调模型,建议参考音频全部在微调训练集音色内,底模不用管。"
|
||||
),
|
||||
file_count="multiple",
|
||||
visible=False,
|
||||
)
|
||||
)
|
||||
|
||||
sample_steps = (
|
||||
gr.Radio(
|
||||
label=i18n("采样步数,如果觉得电,提高试试,如果觉得慢,降低试试"),
|
||||
@ -1498,7 +1501,7 @@ with gr.Blocks(title="GPT-SoVITS WebUI", analytics_enabled=False, js=js, css=css
|
||||
sample_steps,
|
||||
if_sr_Checkbox,
|
||||
pause_second_slider,
|
||||
|
||||
|
||||
SaveSvEmb,
|
||||
SaveRefers,
|
||||
SaveSvEmbName,
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user