Update app.py
Browse files
app.py
CHANGED
@@ -20,7 +20,7 @@ import importlib
|
|
20 |
MAX_SEED = 12211231
|
21 |
CACHE_EXAMPLES = "1"
|
22 |
MAX_IMAGE_SIZE = int(os.getenv("MAX_IMAGE_SIZE", "4192"))
|
23 |
-
USE_TORCH_COMPILE = os.getenv("USE_TORCH_COMPILE", "
|
24 |
ENABLE_CPU_OFFLOAD = os.getenv("ENABLE_CPU_OFFLOAD", "0") == "1"
|
25 |
|
26 |
NUM_IMAGES_PER_PROMPT = 1
|
|
|
20 |
MAX_SEED = 12211231
|
21 |
CACHE_EXAMPLES = "1"
|
22 |
MAX_IMAGE_SIZE = int(os.getenv("MAX_IMAGE_SIZE", "4192"))
|
23 |
+
USE_TORCH_COMPILE = os.getenv("USE_TORCH_COMPILE", "0") == "1"
|
24 |
ENABLE_CPU_OFFLOAD = os.getenv("ENABLE_CPU_OFFLOAD", "0") == "1"
|
25 |
|
26 |
NUM_IMAGES_PER_PROMPT = 1
|