Skip to content

Transforms complex documents like PDFs and Office docs into LLM-ready markdown/JSON for your Agentic workflows.

update:update config json

myhloli790691d63cf2
diff --git a/magic-pdf.template.json b/magic-pdf.template.json
index fcb99955..487bbf08 100644
--- a/magic-pdf.template.json
+++ b/magic-pdf.template.json
@@ -6,9 +6,18 @@
"models-dir":"/tmp/models",
"layoutreader-model-dir":"/tmp/layoutreader",
"device-mode":"cpu",
+ "layout-config": {
+ "model": "doclayout_yolo"
+ },
+ "formula-config": {
+ "mfd_model": "yolo_v8_mfd",
+ "mfr_model": "unimernet_small",
+ "enable": true
+ },
"table-config": {
- "model": "TableMaster",
- "is_table_recog_enable": false,
+ "model": "tablemaster",
+ "enable": false,
"max_time": 400
- }
+ },
+ "config_version": "1.0.0"
}
\ No newline at end of file