Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -172,7 +172,7 @@ def load_im(img):
|
|
172 |
# Cropped image of above dimension
|
173 |
# (It will not change original image)
|
174 |
im1 = im.crop((left, top, right, bottom))
|
175 |
-
|
176 |
|
177 |
im_box.append(im1)
|
178 |
w+=new_w
|
|
|
172 |
# Cropped image of above dimension
|
173 |
# (It will not change original image)
|
174 |
im1 = im.crop((left, top, right, bottom))
|
175 |
+
im1 = im1.resize(newsize)
|
176 |
|
177 |
im_box.append(im1)
|
178 |
w+=new_w
|