ddosxd commited on
Commit
6056495
1 Parent(s): e1fd6b9

Update app.py

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