Update mineru_single.py
Browse files- mineru_single.py +2 -2
mineru_single.py
CHANGED
@@ -36,9 +36,9 @@ class Processor:
|
|
36 |
with open("/home/user/magic-pdf.json", "r") as f:
|
37 |
config = json.load(f)
|
38 |
|
39 |
-
|
40 |
|
41 |
-
self.layout_mode = config["layout-config"]["model"]
|
42 |
self.formula_enable = config["formula-config"]["enable"]
|
43 |
self.table_enable = config["table-config"]["enable"]
|
44 |
self.language = "en"
|
|
|
36 |
with open("/home/user/magic-pdf.json", "r") as f:
|
37 |
config = json.load(f)
|
38 |
|
39 |
+
self.layout_mode = "doclayout_yolo"
|
40 |
|
41 |
+
# self.layout_mode = config["layout-config"]["model"]
|
42 |
self.formula_enable = config["formula-config"]["enable"]
|
43 |
self.table_enable = config["table-config"]["enable"]
|
44 |
self.language = "en"
|