From 97ae740e528bafde3dc23309e33445d0cef1606a Mon Sep 17 00:00:00 2001 From: w_xiaolizu Date: Tue, 23 May 2023 18:41:01 +0800 Subject: [PATCH] =?UTF-8?q?=E5=9B=BA=E5=AE=9A=E7=AB=AF=E5=8F=A3=E5=8F=B7OC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- __main__.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/__main__.py b/__main__.py index 3a78070..606c5db 100644 --- a/__main__.py +++ b/__main__.py @@ -395,8 +395,8 @@ def check_proxy_free(): time.sleep(5) if __name__ == '__main__': - PORT = find_free_port() if WEB_PORT <= 0 else WEB_PORT - # PORT = 7891 if WEB_PORT <= 0 else WEB_PORT + # PORT = find_free_port() if WEB_PORT <= 0 else WEB_PORT + PORT = 7891 if WEB_PORT <= 0 else WEB_PORT check_proxy_free() ChatBot().main() gr.close_all()