mirror of
https://github.com/RVC-Boss/GPT-SoVITS.git
synced 2026-07-10 17:13:18 +08:00
Disable Gradio API
This commit is contained in:
parent
a8e33b387f
commit
1c1eab3bd1
@ -1295,5 +1295,6 @@ if __name__ == "__main__":
|
||||
inbrowser=True,
|
||||
share=is_share,
|
||||
server_port=infer_ttswebui,
|
||||
show_api=False,
|
||||
# quiet=True,
|
||||
)
|
||||
|
||||
@ -538,5 +538,6 @@ if __name__ == "__main__":
|
||||
inbrowser=True,
|
||||
share=is_share,
|
||||
server_port=infer_ttswebui,
|
||||
show_api=False,
|
||||
# quiet=True,
|
||||
)
|
||||
|
||||
@ -536,6 +536,7 @@ def main(list_path: str = "", i18n_lang="Auto", port=9871, share=False):
|
||||
share=share,
|
||||
server_port=port,
|
||||
quiet=False,
|
||||
show_api=False,
|
||||
)
|
||||
|
||||
|
||||
|
||||
@ -220,5 +220,6 @@ app.queue().launch( # concurrency_count=511, max_size=1022
|
||||
inbrowser=True,
|
||||
share=is_share,
|
||||
server_port=webui_port_uvr5,
|
||||
show_api=False,
|
||||
# quiet=True,
|
||||
)
|
||||
|
||||
3
webui.py
3
webui.py
@ -1406,7 +1406,7 @@ with gr.Blocks(title="GPT-SoVITS WebUI", analytics_enabled=False) as app:
|
||||
value=process_info(process_name_slice, "close"), variant="primary", visible=False
|
||||
)
|
||||
|
||||
gr.Markdown(value="0bb-" + i18n("语音降噪工具")+i18n("(不稳定,先别用,可能劣化模型效果!)"))
|
||||
gr.Markdown(value="0bb-" + i18n("语音降噪工具") + i18n("(不稳定,先别用,可能劣化模型效果!)"))
|
||||
with gr.Row():
|
||||
with gr.Column(scale=3):
|
||||
with gr.Row():
|
||||
@ -1968,5 +1968,6 @@ with gr.Blocks(title="GPT-SoVITS WebUI", analytics_enabled=False) as app:
|
||||
inbrowser=True,
|
||||
share=is_share,
|
||||
server_port=webui_port_main,
|
||||
show_api=False,
|
||||
# quiet=True,
|
||||
)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user