huzey commited on
Commit
62fe29c
1 Parent(s): c5e9154

re-color 448

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -4461,7 +4461,7 @@ with demo:
4461
  images = [tup[0] for tup in image_gallery]
4462
  if isinstance(images[0], str):
4463
  images = [Image.open(image) for image in images]
4464
- resized_images = [image.resize((224, 224), Image.LANCZOS) for image in images]
4465
  images = [transform_image(image, resolution=(224, 224), stablediffusion=False) for image in resized_images]
4466
  images = torch.stack(images)
4467
 
 
4461
  images = [tup[0] for tup in image_gallery]
4462
  if isinstance(images[0], str):
4463
  images = [Image.open(image) for image in images]
4464
+ resized_images = [image.resize((448, 448), Image.LANCZOS) for image in images]
4465
  images = [transform_image(image, resolution=(224, 224), stablediffusion=False) for image in resized_images]
4466
  images = torch.stack(images)
4467