ranbac commited on
Commit
095bc2e
·
verified ·
1 Parent(s): 38ea04d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -21,7 +21,7 @@ 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', ocr_version='PP-OCRv5_mobile')
25
  except Exception as e:
26
  print(f"Lỗi khởi tạo: {e}. Chuyển về chế độ mặc định.")
27
  ocr = PaddleOCR(lang='ch')
 
21
 
22
  try:
23
  ocr = PaddleOCR(use_textline_orientation=False, use_doc_orientation_classify=False,
24
+ use_doc_unwarping=False, lang='ch', ocr_version='PP-OCRv5')
25
  except Exception as e:
26
  print(f"Lỗi khởi tạo: {e}. Chuyển về chế độ mặc định.")
27
  ocr = PaddleOCR(lang='ch')