Update app.py
Browse files
app.py
CHANGED
|
@@ -61,8 +61,8 @@ def resize_image_dimensions(
|
|
| 61 |
|
| 62 |
#was_resized = False
|
| 63 |
|
| 64 |
-
|
| 65 |
-
|
| 66 |
#if width <= maximum_dimension and height <= maximum_dimension:
|
| 67 |
# width = width - (width % 32)
|
| 68 |
# height = height - (height % 32)
|
|
|
|
| 61 |
|
| 62 |
#was_resized = False
|
| 63 |
|
| 64 |
+
w = w - w % 8
|
| 65 |
+
h = h - h % 8
|
| 66 |
#if width <= maximum_dimension and height <= maximum_dimension:
|
| 67 |
# width = width - (width % 32)
|
| 68 |
# height = height - (height % 32)
|