Spaces:
Runtime error
Runtime error
Commit
·
9dfe662
1
Parent(s):
143d59a
Update main.py
Browse files
main.py
CHANGED
@@ -107,7 +107,7 @@ def predict_next_frame(previous_frames: List[np.ndarray], previous_actions: List
|
|
107 |
x, y = pos
|
108 |
norm_x = x + (1920 - 256) / 2
|
109 |
norm_y = y + (1080 - 256) / 2
|
110 |
-
action_descriptions.append(f"{norm_x:.0f}
|
111 |
elif action_type == "left_click":
|
112 |
action_descriptions.append("left_click")
|
113 |
elif action_type == "right_click":
|
|
|
107 |
x, y = pos
|
108 |
norm_x = x + (1920 - 256) / 2
|
109 |
norm_y = y + (1080 - 256) / 2
|
110 |
+
action_descriptions.append(f"{norm_x:.0f}~{norm_y:.0f}")
|
111 |
elif action_type == "left_click":
|
112 |
action_descriptions.append("left_click")
|
113 |
elif action_type == "right_click":
|