From b035bee6828e0b782912ec26eea18f85b3624612 Mon Sep 17 00:00:00 2001 From: Showdown76py Date: Mon, 19 May 2025 20:21:30 +0200 Subject: [PATCH] fix --- ai/compute.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/ai/compute.py b/ai/compute.py index ad534b8..d7b8c19 100644 --- a/ai/compute.py +++ b/ai/compute.py @@ -66,9 +66,9 @@ def perform_ocr(screenshot: bytes) -> list[dict]: # vertical line draw.line((x, y - size, x, y + size), fill=color, width=width) screenshot_with_circles.save("screenshot_with_circles.png", format='PNG') - # save in a file - logger.debug("Debug, saving ocr results screenshot with circles") - screenshot_with_circles.save("ocr_results.png", format='PNG') + # save in a file + logger.debug("Debug, saving ocr results screenshot with circles") + screenshot_with_circles.save("ocr_results.png", format='PNG') return results def screenshot_to_base64(screenshot: bytes) -> str: