Update lollms_webui.py

This commit is contained in:
Saifeddine ALOUI 2024-06-07 09:12:05 +02:00 committed by GitHub
parent 3a704458c7
commit 50c5b24e36
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -286,6 +286,8 @@ class LOLLMSWebUI(LOLLMSElfServer):
return False
def run_update_script(self, args=None):
# deactivate trust store for github and pip package install
del os.environ['REQUESTS_CA_BUNDLE']
update_script = Path(__file__).parent/"update_script.py"
# Convert Namespace object to a dictionary