broyang commited on
Commit
7fa7466
·
verified ·
1 Parent(s): e061021

Update anime_model.py

Browse files
Files changed (1) hide show
  1. 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
- raise ValueError
170
- if num_images > MAX_NUM_IMAGES:
171
- raise ValueError
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,