Stable-X commited on
Commit
e057a58
·
verified ·
1 Parent(s): b0dcf89

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -86,7 +86,7 @@ def resize_image(input_image, resolution):
86
  W = int(np.round(W / 64.0)) * 64
87
 
88
  # Resize the image using PIL's resize method
89
- img = input_image.resize((W, H), Image.ANTIALIAS)
90
 
91
  return img
92
 
 
86
  W = int(np.round(W / 64.0)) * 64
87
 
88
  # Resize the image using PIL's resize method
89
+ img = input_image.resize((W, H), Image.Resampling.LANCZOS)
90
 
91
  return img
92