From 6e2158a8c7439fd3cfea0df340b673281af8fdda Mon Sep 17 00:00:00 2001 From: asdfw13 <86564126+asdfw13@users.noreply.github.com> Date: Mon, 19 Jun 2023 19:44:22 +0800 Subject: [PATCH] Update webUI.py --- webUI.py | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/webUI.py b/webUI.py index d848e179..9cfb5f52 100644 --- a/webUI.py +++ b/webUI.py @@ -373,8 +373,12 @@ def debug_change(): debug_button.change(debug_change,[],[]) model_load_button.click(modelAnalysis,[model_path,config_path,cluster_model_path,device,enhance,diff_model_path,diff_config_path,only_diffusion,use_spk_mix],[sid,sid_output]) model_unload_button.click(modelUnload,[],[sid,sid_output]) - os.system("start http://127.0.0.1:7860") - app.launch() + os.system("start http://localhost:7860") + app.queue(concurrency_count=511, max_size=1022).launch( + server_name="0.0.0.0", + server_port=7860, + share=True, + )