KingNish commited on
Commit
fc208a2
1 Parent(s): c52f232

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -22,7 +22,7 @@ if not torch.cuda.is_available():
22
 
23
  MAX_SEED = np.iinfo(np.int32).max
24
  CACHE_EXAMPLES = torch.cuda.is_available() and os.getenv("CACHE_EXAMPLES", "1") == "1"
25
- MAX_IMAGE_SIZE = int(os.getenv("MAX_IMAGE_SIZE", "3000"))
26
  USE_TORCH_COMPILE = os.getenv("USE_TORCH_COMPILE", "0") == "1"
27
  ENABLE_CPU_OFFLOAD = os.getenv("ENABLE_CPU_OFFLOAD", "0") == "1"
28
  PORT = int(os.getenv("DEMO_PORT", "15432"))
 
22
 
23
  MAX_SEED = np.iinfo(np.int32).max
24
  CACHE_EXAMPLES = torch.cuda.is_available() and os.getenv("CACHE_EXAMPLES", "1") == "1"
25
+ MAX_IMAGE_SIZE = int(os.getenv("MAX_IMAGE_SIZE", "4192"))
26
  USE_TORCH_COMPILE = os.getenv("USE_TORCH_COMPILE", "0") == "1"
27
  ENABLE_CPU_OFFLOAD = os.getenv("ENABLE_CPU_OFFLOAD", "0") == "1"
28
  PORT = int(os.getenv("DEMO_PORT", "15432"))