ovi054 commited on
Commit
40c2e73
·
verified ·
1 Parent(s): 36abdd4

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -0
app.py CHANGED
@@ -15,6 +15,10 @@ import shutil
15
  from urllib.parse import urlparse
16
 
17
 
 
 
 
 
18
  # --- Model Loading ---
19
  device = torch.device('cuda' if torch.cuda.is_available() else 'cpu')
20
 
 
15
  from urllib.parse import urlparse
16
 
17
 
18
+ MAX_SEED = np.iinfo(np.int32).max
19
+ MAX_IMAGE_SIZE = 2048
20
+
21
+
22
  # --- Model Loading ---
23
  device = torch.device('cuda' if torch.cuda.is_available() else 'cpu')
24