Spaces:
Paused
Paused
change image
Browse files- image_ops.py +1 -1
image_ops.py
CHANGED
|
@@ -12,7 +12,7 @@ def resize_pil_image(
|
|
| 12 |
return pil_image.convert("RGB").resize(
|
| 13 |
(
|
| 14 |
image_width,
|
| 15 |
-
|
| 16 |
),
|
| 17 |
Image.Resampling.LANCZOS,
|
| 18 |
)
|
|
|
|
| 12 |
return pil_image.convert("RGB").resize(
|
| 13 |
(
|
| 14 |
image_width,
|
| 15 |
+
image_height,
|
| 16 |
),
|
| 17 |
Image.Resampling.LANCZOS,
|
| 18 |
)
|