ranbac commited on
Commit
e8542ea
·
verified ·
1 Parent(s): 5f8f89d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -20,7 +20,7 @@ logging.getLogger("ppocr").setLevel(logging.WARNING)
20
  print("Đang khởi tạo PaddleOCR (Coordinate Sync Mode)...")
21
 
22
  try:
23
- ocr = PaddleOCR(use_textline_orientation=True, use_doc_orientation_classify=True,
24
  use_doc_unwarping=False, lang='ch')
25
  except Exception as e:
26
  print(f"Lỗi khởi tạo: {e}. Chuyển về chế độ mặc định.")
 
20
  print("Đang khởi tạo PaddleOCR (Coordinate Sync Mode)...")
21
 
22
  try:
23
+ ocr = PaddleOCR(use_textline_orientation=False, use_doc_orientation_classify=False,
24
  use_doc_unwarping=False, lang='ch')
25
  except Exception as e:
26
  print(f"Lỗi khởi tạo: {e}. Chuyển về chế độ mặc định.")