Spaces:
Running
on
CPU Upgrade
Running
on
CPU Upgrade
Johannes
commited on
Commit
•
12a3b31
1
Parent(s):
5b57bc4
remove type annotation
Browse files
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
|
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 |
|