craftgamesnetwork commited on
Commit
bc8e58a
·
verified ·
1 Parent(s): 9158cfb

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
  DESCRIPTION += "\n<p>⚠️ This space is running on the CPU. This demo doesn't work on CPU 😞! Run on a GPU by duplicating this space or test our website for free and unlimited by <a href='https://squaadai.com'>clicking here</a>, which provides these and more options.</p>"
20
 
21
  MAX_SEED = np.iinfo(np.int32).max
22
- MAX_IMAGE_SIZE = int(os.getenv("MAX_IMAGE_SIZE", "1824")
23
  ENABLE_USE_LORA = os.getenv("ENABLE_USE_LORA", "1") == "1"
24
  ENABLE_USE_VAE = os.getenv("ENABLE_USE_VAE", "1") == "1"
25
  ENABLE_USE_IMG2IMG = os.getenv("ENABLE_USE_VAE", "1") == "1"
 
19
  DESCRIPTION += "\n<p>⚠️ This space is running on the CPU. This demo doesn't work on CPU 😞! Run on a GPU by duplicating this space or test our website for free and unlimited by <a href='https://squaadai.com'>clicking here</a>, which provides these and more options.</p>"
20
 
21
  MAX_SEED = np.iinfo(np.int32).max
22
+ MAX_IMAGE_SIZE = int(os.getenv("MAX_IMAGE_SIZE", "1824"))
23
  ENABLE_USE_LORA = os.getenv("ENABLE_USE_LORA", "1") == "1"
24
  ENABLE_USE_VAE = os.getenv("ENABLE_USE_VAE", "1") == "1"
25
  ENABLE_USE_IMG2IMG = os.getenv("ENABLE_USE_VAE", "1") == "1"