Spaces:
Runtime error
Runtime error
da03
commited on
Commit
·
4a61676
1
Parent(s):
9d0127f
main.py
CHANGED
@@ -204,7 +204,7 @@ def format_action(action_str, is_padding=False, is_leftclick=False):
|
|
204 |
# Format with sign and proper spacing
|
205 |
return prefix + " " + f"{'+ ' if x >= 0 else '- '}{x_spaced} : {'+ ' if y >= 0 else '- '}{y_spaced}"
|
206 |
|
207 |
-
def predict_next_frame(previous_frames
|
208 |
width, height = 512, 384
|
209 |
all_click_positions = []
|
210 |
initial_images = load_initial_images(width, height)
|
|
|
204 |
# Format with sign and proper spacing
|
205 |
return prefix + " " + f"{'+ ' if x >= 0 else '- '}{x_spaced} : {'+ ' if y >= 0 else '- '}{y_spaced}"
|
206 |
|
207 |
+
def predict_next_frame(previous_frames, previous_actions: List[Tuple[str, List[int]]]) -> np.ndarray:
|
208 |
width, height = 512, 384
|
209 |
all_click_positions = []
|
210 |
initial_images = load_initial_images(width, height)
|