mirror of
https://github.com/RVC-Boss/GPT-SoVITS.git
synced 2025-04-05 19:41:56 +08:00
增加子页面多语言支持
This commit is contained in:
parent
a2f625afd9
commit
f36cdf70e4
@ -761,6 +761,7 @@ with gr.Blocks(title="GPT-SoVITS WebUI") as app:
|
||||
# button4.click(cut4, [text_inp], [text_opt])
|
||||
# button5.click(cut5, [text_inp], [text_opt])
|
||||
# gr.Markdown(html_center(i18n("后续将支持转音素、手工修改音素、语音合成分步执行。")))
|
||||
i18n.translate_blocks(app)
|
||||
|
||||
if __name__ == '__main__':
|
||||
app.queue().launch(#concurrency_count=511, max_size=1022
|
||||
|
@ -326,6 +326,8 @@ with gr.Blocks(title="GPT-SoVITS WebUI") as app:
|
||||
cut_text.click(to_cut, [text_inp, _how_to_cut], [text_opt])
|
||||
gr.Markdown(value=i18n("后续将支持转音素、手工修改音素、语音合成分步执行。"))
|
||||
|
||||
i18n.translate_blocks(app)
|
||||
|
||||
if __name__ == '__main__':
|
||||
app.queue().launch(#concurrency_count=511, max_size=1022
|
||||
server_name="0.0.0.0",
|
||||
|
@ -199,6 +199,8 @@ with gr.Blocks(title="UVR5 WebUI") as app:
|
||||
[vc_output4],
|
||||
api_name="uvr_convert",
|
||||
)
|
||||
|
||||
i18n.translate_blocks(app)
|
||||
app.queue().launch(#concurrency_count=511, max_size=1022
|
||||
server_name="0.0.0.0",
|
||||
inbrowser=True,
|
||||
|
Loading…
x
Reference in New Issue
Block a user