Transforms complex documents like PDFs and Office docs into LLM-ready markdown/JSON for your Agentic workflows.
Python ai4sciencedocument-analysisdocxextract-datalayout-analysisocrparserpdfpdf-converterpdf-extractor-llmpdf-extractor-pretrainpdf-extractor-ragpdf-parserpptxpythonxlsx
fix: remove test code
icecraft22008b8222f3
diff --git a/magic_pdf/data/read_api.py b/magic_pdf/data/read_api.pyindex 61e0fbf7..31380437 100644--- a/magic_pdf/data/read_api.py+++ b/magic_pdf/data/read_api.py@@ -35,7 +35,7 @@ def read_jsonl(jsonl_d = [json.loads(line) for line in jsonl_bits.decode().split('\n') if line.strip()]- for d in jsonl_d[:5]:+ for d in jsonl_d:pdf_path = d.get('file_location', '') or d.get('path', '')if len(pdf_path) == 0:raise EmptyData('pdf file location is empty')