Spaces:
Runtime error
Runtime error
Commit
·
c7afaf1
1
Parent(s):
ef2044c
Update main.py
Browse files
main.py
CHANGED
@@ -39,7 +39,7 @@ def draw_trace(image: np.ndarray, previous_actions: List[Tuple[str, List[int]]])
|
|
39 |
return np.array(pil_image)
|
40 |
|
41 |
# Initialize the model at the start of your application
|
42 |
-
initialize_model("config_csllm.yaml", "yuntian-deng/computer-model")
|
43 |
|
44 |
def predict_next_frame(previous_frames: List[np.ndarray], previous_actions: List[Tuple[str, List[int]]]) -> np.ndarray:
|
45 |
width, height = 256, 256
|
|
|
39 |
return np.array(pil_image)
|
40 |
|
41 |
# Initialize the model at the start of your application
|
42 |
+
model = initialize_model("config_csllm.yaml", "yuntian-deng/computer-model")
|
43 |
|
44 |
def predict_next_frame(previous_frames: List[np.ndarray], previous_actions: List[Tuple[str, List[int]]]) -> np.ndarray:
|
45 |
width, height = 256, 256
|