固定端口号OC

This commit is contained in:
w_xiaolizu
2023-05-23 18:41:01 +08:00
parent ac45f1036b
commit 97ae740e52

View File

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