try fix ssl

This commit is contained in:
lllyasviel 2023-12-12 12:59:58 -08:00
parent 85b3e64e60
commit 5f3a87d871
2 changed files with 4 additions and 2 deletions

View File

@ -1 +1 @@
version = '2.1.826'
version = '2.1.827'

View File

@ -1,6 +1,6 @@
import os
import sys
import ssl
print('[System ARGV] ' + str(sys.argv))
@ -12,6 +12,8 @@ os.environ["PYTORCH_ENABLE_MPS_FALLBACK"] = "1"
os.environ["PYTORCH_MPS_HIGH_WATERMARK_RATIO"] = "0.0"
os.environ["GRADIO_SERVER_PORT"] = "7865"
ssl._create_default_https_context = ssl._create_unverified_context
import platform
import fooocus_version