Update app.py
Browse files
app.py
CHANGED
@@ -273,7 +273,7 @@ def object_detection_density_edge(image, conf_threshold=0.25, iou_threshold=0.45
|
|
273 |
|
274 |
|
275 |
# Function to resize and encode an image
|
276 |
-
def resize_image(image, max_size=
|
277 |
print("resize_image initialized")
|
278 |
if max(image.size) > max_size:
|
279 |
|
|
|
273 |
|
274 |
|
275 |
# Function to resize and encode an image
|
276 |
+
def resize_image(image, max_size=2500):
|
277 |
print("resize_image initialized")
|
278 |
if max(image.size) > max_size:
|
279 |
|