Spaces:
Sleeping
Sleeping
Update anime_model.py
Browse files- anime_model.py +4 -4
anime_model.py
CHANGED
|
@@ -165,10 +165,10 @@ class Model:
|
|
| 165 |
) -> list[PIL.Image.Image]:
|
| 166 |
if image is None:
|
| 167 |
raise ValueError
|
| 168 |
-
if image_resolution > MAX_IMAGE_RESOLUTION:
|
| 169 |
-
|
| 170 |
-
if num_images > MAX_NUM_IMAGES:
|
| 171 |
-
|
| 172 |
self.load("NormalBae")
|
| 173 |
control_image = self.preprocess(
|
| 174 |
image=image,
|
|
|
|
| 165 |
) -> list[PIL.Image.Image]:
|
| 166 |
if image is None:
|
| 167 |
raise ValueError
|
| 168 |
+
#if image_resolution > MAX_IMAGE_RESOLUTION:
|
| 169 |
+
# raise ValueError
|
| 170 |
+
#if num_images > MAX_NUM_IMAGES:
|
| 171 |
+
# raise ValueError
|
| 172 |
self.load("NormalBae")
|
| 173 |
control_image = self.preprocess(
|
| 174 |
image=image,
|