SkyNait commited on
Commit
603278d
·
verified ·
1 Parent(s): 73c3b4e

Update mineru_single.py

Browse files
Files changed (1) hide show
  1. mineru_single.py +2 -0
mineru_single.py CHANGED
@@ -36,6 +36,8 @@ class Processor:
36
  with open("/home/user/magic-pdf.json", "r") as f:
37
  config = json.load(f)
38
 
 
 
39
  self.layout_mode = config["layout-config"]["model"]
40
  self.formula_enable = config["formula-config"]["enable"]
41
  self.table_enable = config["table-config"]["enable"]
 
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"]