From 65de305e6f3e6d423200fd764148a12e8efc9c15 Mon Sep 17 00:00:00 2001 From: laurentbarontini Date: Sun, 11 Jan 2026 17:57:19 +0100 Subject: [PATCH] 11.01.26 --- app.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app.py b/app.py index 0b6edc0..d05bd08 100644 --- a/app.py +++ b/app.py @@ -644,7 +644,7 @@ async def ocr(file: UploadFile): return { "success": True, - "raw_text": ocr_text[:1000] + "..." if len(ocr_text) > 1000 else ocr_text, + "ocr_text": ocr_text[:1000] + "..." if len(ocr_text) > 1000 else ocr_text, "structured_data": structured_data, "json": json.dumps(structured_data, indent=2, ensure_ascii=False) }