fix: mineru post handel
This commit is contained in:
@@ -346,7 +346,8 @@ class MineruOCRService(OCRServiceBase):
|
||||
if "results" in result and "image" in result["results"]:
|
||||
markdown_content = result["results"]["image"].get("md_content", "")
|
||||
|
||||
# markdown_content = _postprocess_markdown(markdown_content)
|
||||
# Apply postprocessing to fix OCR errors
|
||||
markdown_content = _postprocess_markdown(markdown_content)
|
||||
|
||||
# Convert to other formats if converter is available
|
||||
latex = ""
|
||||
|
||||
Reference in New Issue
Block a user