refactor: update MinerU to use tar.gz and mineru CLI
- Change archive format from zip to tar.gz - Use 'mineru' CLI command instead of 'magic-pdf' - Install mineru[all] via pipx in Dockerfile - Remove zip dependency from Dockerfile - Update normalizeFiletype to output tar.gz extension - Update all tests for tar.gz output format - Simplify README MinerU section
This commit is contained in:
parent
e5ca364563
commit
f7ebc084ea
5 changed files with 93 additions and 58 deletions
|
|
@ -31,10 +31,10 @@ export const normalizeOutputFiletype = (filetype: string): string => {
|
|||
case "markdown_mmd":
|
||||
case "markdown":
|
||||
return "md";
|
||||
// MinerU output formats - output as ZIP
|
||||
// MinerU output formats - output as tar.gz
|
||||
case "md-t":
|
||||
case "md-i":
|
||||
return "zip";
|
||||
return "tar.gz";
|
||||
default:
|
||||
return lowercaseFiletype;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue