From 8da312fd33e8e4330f6095a0003c630b1473dffd Mon Sep 17 00:00:00 2001 From: laurentbarontini Date: Sun, 11 Jan 2026 18:04:31 +0100 Subject: [PATCH] 11.01.26 --- app.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/app.py b/app.py index d05bd08..845b759 100644 --- a/app.py +++ b/app.py @@ -644,7 +644,8 @@ async def ocr(file: UploadFile): return { "success": True, - "ocr_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, + "ocr_text": structured_data, "structured_data": structured_data, "json": json.dumps(structured_data, indent=2, ensure_ascii=False) }