From 790691d63cf2f1ed761f88a47917de38419a8426 Mon Sep 17 00:00:00 2001 From: myhloli Date: Wed, 23 Oct 2024 10:34:42 +0800 Subject: [PATCH] =?UTF-8?q?update=EF=BC=9Aupdate=20config=20json?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- magic-pdf.template.json | 15 ++++++++++++--- 1 file changed, 12 insertions(+), 3 deletions(-) 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