Spaces:
0x7o
/
Runtime error

0x7o commited on
Commit
40106ca
1 Parent(s): 21e53c0

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -19,7 +19,7 @@ if not torch.cuda.is_available():
19
 
20
  MAX_SEED = np.iinfo(np.int32).max
21
  CACHE_EXAMPLES = torch.cuda.is_available() and os.getenv("CACHE_EXAMPLES") == "1"
22
- MAX_IMAGE_SIZE = int(os.getenv("MAX_IMAGE_SIZE", "1024"))
23
  USE_TORCH_COMPILE = os.getenv("USE_TORCH_COMPILE") == "1"
24
  ENABLE_CPU_OFFLOAD = os.getenv("ENABLE_CPU_OFFLOAD") == "1"
25
  ENABLE_REFINER = os.getenv("ENABLE_REFINER", "1") == "1"
 
19
 
20
  MAX_SEED = np.iinfo(np.int32).max
21
  CACHE_EXAMPLES = torch.cuda.is_available() and os.getenv("CACHE_EXAMPLES") == "1"
22
+ MAX_IMAGE_SIZE = int(os.getenv("MAX_IMAGE_SIZE", "1536"))
23
  USE_TORCH_COMPILE = os.getenv("USE_TORCH_COMPILE") == "1"
24
  ENABLE_CPU_OFFLOAD = os.getenv("ENABLE_CPU_OFFLOAD") == "1"
25
  ENABLE_REFINER = os.getenv("ENABLE_REFINER", "1") == "1"