From ff8bb0f7c63663be247a1e610082e76302553ffb Mon Sep 17 00:00:00 2001 From: Cyberes Date: Wed, 23 Aug 2023 16:14:13 -0600 Subject: [PATCH] shut up --- server.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/server.py b/server.py index 87cc4e8..85d5dee 100644 --- a/server.py +++ b/server.py @@ -46,7 +46,12 @@ opts.log_prompts = config['log_prompts'] opts.concurrent_gens = config['concurrent_gens'] opts.frontend_api_client = config['frontend_api_client'] opts.context_size = config['token_limit'] + opts.verify_ssl = config['verify_ssl'] +if not opts.verify_ssl: + import urllib3 + + urllib3.disable_warnings(urllib3.exceptions.InsecureRequestWarning) SemaphoreCheckerThread(concurrent_semaphore).start()