Spaces:
Running
on
Zero
Running
on
Zero
Commit
•
52ef049
1
Parent(s):
c1e1bbb
Update app.py
Browse files
app.py
CHANGED
@@ -23,6 +23,7 @@ CACHE_EXAMPLES = torch.cuda.is_available() and os.getenv("CACHE_EXAMPLES") == "1
|
|
23 |
MAX_IMAGE_SIZE = int(os.getenv("MAX_IMAGE_SIZE", "1536"))
|
24 |
USE_TORCH_COMPILE = True
|
25 |
ENABLE_CPU_OFFLOAD = os.getenv("ENABLE_CPU_OFFLOAD") == "1"
|
|
|
26 |
|
27 |
dtype = torch.float16
|
28 |
device = torch.device("cuda:0" if torch.cuda.is_available() else "cpu")
|
|
|
23 |
MAX_IMAGE_SIZE = int(os.getenv("MAX_IMAGE_SIZE", "1536"))
|
24 |
USE_TORCH_COMPILE = True
|
25 |
ENABLE_CPU_OFFLOAD = os.getenv("ENABLE_CPU_OFFLOAD") == "1"
|
26 |
+
PREVIEW_IMAGES = False #not working for now
|
27 |
|
28 |
dtype = torch.float16
|
29 |
device = torch.device("cuda:0" if torch.cuda.is_available() else "cpu")
|