Johannes commited on
Commit
12a3b31
1 Parent(s): 5b57bc4

remove type annotation

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -18,7 +18,7 @@ def get_coordinates_from_mask(mask_in):
18
 
19
  return centroids
20
 
21
- def get_top_bottom_coordinates(coords: list[list[int,int]]) -> tuple(list[int,int],list[int,int]):
22
  top_coord = min(coords, key=lambda x : x[1])
23
  bottom_coord = max(coords, key=lambda x : x[1])
24
 
 
18
 
19
  return centroids
20
 
21
+ def get_top_bottom_coordinates(coords):
22
  top_coord = min(coords, key=lambda x : x[1])
23
  bottom_coord = max(coords, key=lambda x : x[1])
24