Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -7,7 +7,7 @@ from peft import PeftModel, LoraConfig
|
|
7 |
from controlnet_aux import OpenposeDetector
|
8 |
import os
|
9 |
|
10 |
-
MAX_SEED = np.iinfo(
|
11 |
MAX_IMAGE_SIZE = 1024
|
12 |
|
13 |
device = torch.device("cuda" if torch.cuda.is_available() else "cpu")
|
|
|
7 |
from controlnet_aux import OpenposeDetector
|
8 |
import os
|
9 |
|
10 |
+
MAX_SEED = np.iinfo(np.int32).max
|
11 |
MAX_IMAGE_SIZE = 1024
|
12 |
|
13 |
device = torch.device("cuda" if torch.cuda.is_available() else "cpu")
|