Spaces:
Running
on
Zero
Running
on
Zero
prithivMLmods
commited on
Commit
•
7828e7d
1
Parent(s):
91cbec2
Update app.py
Browse files
app.py
CHANGED
@@ -64,7 +64,7 @@ examples = [
|
|
64 |
#Fetch an environment variable
|
65 |
#echo %VAR_NAME%
|
66 |
|
67 |
-
MODEL_ID = os.getenv("
|
68 |
MAX_IMAGE_SIZE = int(os.getenv("MAX_IMAGE_SIZE", "4096"))
|
69 |
USE_TORCH_COMPILE = os.getenv("USE_TORCH_COMPILE", "0") == "1"
|
70 |
ENABLE_CPU_OFFLOAD = os.getenv("ENABLE_CPU_OFFLOAD", "0") == "1"
|
|
|
64 |
#Fetch an environment variable
|
65 |
#echo %VAR_NAME%
|
66 |
|
67 |
+
MODEL_ID = os.getenv("MODEL_VAL_PATH") #Use SDXL Model as "MODEL_REPO" --------->>> ”VALUE”.
|
68 |
MAX_IMAGE_SIZE = int(os.getenv("MAX_IMAGE_SIZE", "4096"))
|
69 |
USE_TORCH_COMPILE = os.getenv("USE_TORCH_COMPILE", "0") == "1"
|
70 |
ENABLE_CPU_OFFLOAD = os.getenv("ENABLE_CPU_OFFLOAD", "0") == "1"
|