Refa: only support MinerU-API now (#11977)

### What problem does this PR solve?

Only support MinerU-API now, still need to complete frontend for
pipeline to allow the configuration of MinerU options.

### Type of change

- [x] Refactoring
This commit is contained in:
Yongteng Lei
2025-12-17 12:58:48 +08:00
committed by GitHub
parent 5e05f43c3d
commit 03f9be7cbb
19 changed files with 273 additions and 624 deletions

View File

@ -280,6 +280,7 @@ class Parser(ProcessBase):
binary=blob,
callback=self.callback,
parse_method=conf.get("mineru_parse_method", "raw"),
lang=conf.get("lang", "Chinese"),
)
bboxes = []
for t, poss in lines: