Disable Gradio API

This commit is contained in:
XXXXRT666 2025-06-01 18:12:23 +08:00
parent 89438d6001
commit 6b63929809
5 changed files with 5 additions and 0 deletions

View File

@ -1337,5 +1337,6 @@ if __name__ == "__main__":
inbrowser=True,
share=is_share,
server_port=infer_ttswebui,
show_api=False,
# quiet=True,
)

View File

@ -505,5 +505,6 @@ if __name__ == "__main__":
inbrowser=True,
share=is_share,
server_port=infer_ttswebui,
show_api=False,
# quiet=True,
)

View File

@ -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,
)

View File

@ -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,
)

View File

@ -1972,5 +1972,6 @@ with gr.Blocks(title="GPT-SoVITS WebUI", analytics_enabled=False, js=js, css=css
inbrowser=True,
share=is_share,
server_port=webui_port_main,
show_api=False,
# quiet=True,
)