Spaces:
Runtime error
Runtime error
Commit
·
9179c04
1
Parent(s):
4b7a371
Update main.py
Browse files
main.py
CHANGED
@@ -28,7 +28,7 @@ def generate_random_image(width: int, height: int) -> np.ndarray:
|
|
28 |
|
29 |
def draw_trace(image: np.ndarray, previous_actions: List[Tuple[str, List[int]]]) -> np.ndarray:
|
30 |
pil_image = Image.fromarray(image)
|
31 |
-
pil_img = Image.open('
|
32 |
draw = ImageDraw.Draw(pil_image)
|
33 |
flag = True
|
34 |
prev_x, prev_y = None, None
|
|
|
28 |
|
29 |
def draw_trace(image: np.ndarray, previous_actions: List[Tuple[str, List[int]]]) -> np.ndarray:
|
30 |
pil_image = Image.fromarray(image)
|
31 |
+
pil_img = Image.open('image_3.png')
|
32 |
draw = ImageDraw.Draw(pil_image)
|
33 |
flag = True
|
34 |
prev_x, prev_y = None, None
|