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) }