fffiloni commited on
Commit
edb7218
1 Parent(s): 6a07f17

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -209,8 +209,8 @@ class AnimateController:
209
  # Open the image
210
  image = Image.open(init_image)
211
 
212
- # Resize the image while maintaining the aspect ratio
213
- image.resize((new_width, new_height), Image.LANCZOS)
214
 
215
  # Save the resized image to the specified output path
216
  image.save("resized.png")
 
209
  # Open the image
210
  image = Image.open(init_image)
211
 
212
+ # Resize the image
213
+ image.resize((512, 512), Image.LANCZOS)
214
 
215
  # Save the resized image to the specified output path
216
  image.save("resized.png")