Update app.py
Browse files
app.py
CHANGED
|
@@ -58,7 +58,7 @@ def resize(img):
|
|
| 58 |
img = img.resize((wsize,hsize), Image.ANTIALIAS)
|
| 59 |
w = img.size[0]
|
| 60 |
h = img.size[1]
|
| 61 |
-
img = img.crop(0, 0, w-w%8, h-h%8)
|
| 62 |
|
| 63 |
return img
|
| 64 |
|
|
|
|
| 58 |
img = img.resize((wsize,hsize), Image.ANTIALIAS)
|
| 59 |
w = img.size[0]
|
| 60 |
h = img.size[1]
|
| 61 |
+
img = img.crop((0, 0, w-w%8, h-h%8))
|
| 62 |
|
| 63 |
return img
|
| 64 |
|