Spaces:
Runtime error
Runtime error
Commit
·
f9c800e
1
Parent(s):
062cbf4
Update main.py
Browse files
main.py
CHANGED
@@ -35,7 +35,7 @@ def draw_trace(image: np.ndarray, previous_actions: List[Tuple[str, List[int]]])
|
|
35 |
x, y = position
|
36 |
if DEBUG:
|
37 |
x = x * 256 / 1024
|
38 |
-
y =
|
39 |
draw.ellipse([x-2, y-2, x+2, y+2], fill=color)
|
40 |
|
41 |
if i > 0:
|
|
|
35 |
x, y = position
|
36 |
if DEBUG:
|
37 |
x = x * 256 / 1024
|
38 |
+
y = y * 256 / 1024
|
39 |
draw.ellipse([x-2, y-2, x+2, y+2], fill=color)
|
40 |
|
41 |
if i > 0:
|