Spaces:
Runtime error
Runtime error
DerrylNessie
commited on
Commit
•
0fe7020
1
Parent(s):
aefb2ac
Update app.py
Browse files
app.py
CHANGED
@@ -16,7 +16,7 @@ def midpoint(x1, y1, x2, y2):
|
|
16 |
return (x_mid, y_mid)
|
17 |
|
18 |
def draw_mask(img, bounds):
|
19 |
-
draw = ImageDraw.Draw(img
|
20 |
for bound in bounds:
|
21 |
p0, p1, p2, p3 = bound[0]
|
22 |
|
|
|
16 |
return (x_mid, y_mid)
|
17 |
|
18 |
def draw_mask(img, bounds):
|
19 |
+
draw = ImageDraw.Draw(img)
|
20 |
for bound in bounds:
|
21 |
p0, p1, p2, p3 = bound[0]
|
22 |
|