Spaces:
Runtime error
Runtime error
Commit
·
70e8745
1
Parent(s):
d699927
Update main.py
Browse files
main.py
CHANGED
|
@@ -42,7 +42,7 @@ def parse_action_string(action_str):
|
|
| 42 |
|
| 43 |
return (x, y)
|
| 44 |
|
| 45 |
-
def create_position_map(pos, image_size=
|
| 46 |
"""Convert cursor position to a binary position map
|
| 47 |
Args:
|
| 48 |
x, y: Original cursor positions
|
|
|
|
| 42 |
|
| 43 |
return (x, y)
|
| 44 |
|
| 45 |
+
def create_position_map(pos, image_size=64, original_width=1024, original_height=640):
|
| 46 |
"""Convert cursor position to a binary position map
|
| 47 |
Args:
|
| 48 |
x, y: Original cursor positions
|