try fix ssl
This commit is contained in:
parent
85b3e64e60
commit
5f3a87d871
@ -1 +1 @@
|
|||||||
version = '2.1.826'
|
version = '2.1.827'
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
import os
|
import os
|
||||||
import sys
|
import sys
|
||||||
|
import ssl
|
||||||
|
|
||||||
print('[System ARGV] ' + str(sys.argv))
|
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["PYTORCH_MPS_HIGH_WATERMARK_RATIO"] = "0.0"
|
||||||
os.environ["GRADIO_SERVER_PORT"] = "7865"
|
os.environ["GRADIO_SERVER_PORT"] = "7865"
|
||||||
|
|
||||||
|
ssl._create_default_https_context = ssl._create_unverified_context
|
||||||
|
|
||||||
|
|
||||||
import platform
|
import platform
|
||||||
import fooocus_version
|
import fooocus_version
|
||||||
|
Loading…
Reference in New Issue
Block a user