LLDDWW commited on
Commit
265a767
Β·
1 Parent(s): 12c16b7

fix: remove deprecated paddleocr params

Browse files
Files changed (1) hide show
  1. app.py +4 -5
app.py CHANGED
@@ -24,11 +24,10 @@ def _load_ocr():
24
  lang=OCR_LANGS[0],
25
  use_textline_orientation=True,
26
  show_log=False,
27
- det_limit_side_len=2048,
28
- use_mp=False,
29
- det_db_box_thresh=0.5,
30
- rec_algorithm="SVTR_LCNet",
31
- det_algorithm="DB",
32
  )
33
 
34
 
 
24
  lang=OCR_LANGS[0],
25
  use_textline_orientation=True,
26
  show_log=False,
27
+ text_det_limit_side_len=2048,
28
+ text_det_box_thresh=0.5,
29
+ det_model_dir=None,
30
+ rec_model_dir=None,
 
31
  )
32
 
33