ahd75 commited on
Commit
210c73b
·
verified ·
1 Parent(s): a486156

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -23,7 +23,7 @@ ocr_engine = PaddleOCR(use_angle_cls=False, lang='en')
23
 
24
  # 2. Structure Analysis Engine (for /structure endpoint)
25
  # We set layout=True and table=True to perform comprehensive structure analysis
26
- structure_engine = PPStructureV3(layout=True, ocr=False)
27
 
28
  print("**Model loaded successfully.**")
29
 
 
23
 
24
  # 2. Structure Analysis Engine (for /structure endpoint)
25
  # We set layout=True and table=True to perform comprehensive structure analysis
26
+ structure_engine = PPStructureV3(use_doc_orientation_classify=False, use_doc_unwarping=False)
27
 
28
  print("**Model loaded successfully.**")
29