Spaces:
Runtime error
Runtime error
Commit
·
3309bde
1
Parent(s):
99957ed
Update main.py
Browse files
main.py
CHANGED
@@ -40,8 +40,7 @@ def draw_trace(image: np.ndarray, previous_actions: List[Tuple[str, List[int]]])
|
|
40 |
flag = False
|
41 |
if DEBUG:
|
42 |
x = x * 256 / 1024
|
43 |
-
y = y * 256 /
|
44 |
-
y = 5
|
45 |
draw.ellipse([x-2, y-2, x+2, y+2], fill=color)
|
46 |
|
47 |
if prev_x is not None:
|
|
|
40 |
flag = False
|
41 |
if DEBUG:
|
42 |
x = x * 256 / 1024
|
43 |
+
y = y * 256 / 640
|
|
|
44 |
draw.ellipse([x-2, y-2, x+2, y+2], fill=color)
|
45 |
|
46 |
if prev_x is not None:
|