Update app.py
Browse files
app.py
CHANGED
@@ -209,8 +209,8 @@ class AnimateController:
|
|
209 |
# Open the image
|
210 |
image = Image.open(init_image)
|
211 |
|
212 |
-
# Resize the image
|
213 |
-
image.resize((
|
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")
|