Spaces:
Runtime error
Runtime error
Commit
·
08c04fc
1
Parent(s):
929432c
Update main.py
Browse files
main.py
CHANGED
@@ -176,7 +176,7 @@ def format_action(action_str, is_padding=False, is_leftclick=False):
|
|
176 |
return prefix + " " + f"{'+ ' if x >= 0 else '- '}{x_spaced} : {'+ ' if y >= 0 else '- '}{y_spaced}"
|
177 |
|
178 |
def predict_next_frame(previous_frames: List[np.ndarray], previous_actions: List[Tuple[str, List[int]]]) -> np.ndarray:
|
179 |
-
width, height = 512,
|
180 |
initial_images = load_initial_images(width, height)
|
181 |
|
182 |
# Prepare the image sequence for the model
|
|
|
176 |
return prefix + " " + f"{'+ ' if x >= 0 else '- '}{x_spaced} : {'+ ' if y >= 0 else '- '}{y_spaced}"
|
177 |
|
178 |
def predict_next_frame(previous_frames: List[np.ndarray], previous_actions: List[Tuple[str, List[int]]]) -> np.ndarray:
|
179 |
+
width, height = 512, 384
|
180 |
initial_images = load_initial_images(width, height)
|
181 |
|
182 |
# Prepare the image sequence for the model
|