panda1835 commited on
Commit
fe75ca6
·
1 Parent(s): 0093523

Update handler.py

Browse files
Files changed (1) hide show
  1. handler.py +1 -1
handler.py CHANGED
@@ -42,4 +42,4 @@ class EndpointHandler():
42
  y2 = min(y2 + offset, H)
43
  new_image = img[y1:y2, x1:x2]
44
  # Return the annotated original image with the square cropped
45
- return annotated, new_image
 
42
  y2 = min(y2 + offset, H)
43
  new_image = img[y1:y2, x1:x2]
44
  # Return the annotated original image with the square cropped
45
+ return annotated.tolist(), new_image.tolist()