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