Spaces:
Paused
Paused
launch app with launch.py step 2/5/2
Browse files
launch.py
CHANGED
@@ -10,8 +10,8 @@ os.chdir(root)
|
|
10 |
|
11 |
os.environ["PYTORCH_ENABLE_MPS_FALLBACK"] = "1"
|
12 |
os.environ["PYTORCH_MPS_HIGH_WATERMARK_RATIO"] = "0.0"
|
13 |
-
if "GRADIO_SERVER_PORT" not in os.environ:
|
14 |
-
|
15 |
|
16 |
ssl._create_default_https_context = ssl._create_unverified_context
|
17 |
|
|
|
10 |
|
11 |
os.environ["PYTORCH_ENABLE_MPS_FALLBACK"] = "1"
|
12 |
os.environ["PYTORCH_MPS_HIGH_WATERMARK_RATIO"] = "0.0"
|
13 |
+
# if "GRADIO_SERVER_PORT" not in os.environ:
|
14 |
+
# os.environ["GRADIO_SERVER_PORT"] = "7865"
|
15 |
|
16 |
ssl._create_default_https_context = ssl._create_unverified_context
|
17 |
|