Spaces:
Sleeping
Sleeping
Manus AI commited on
Commit ·
995e2e8
1
Parent(s): bfec147
Fix PaddleOCR initialization by removing unsupported use_dilation argument
Browse files- util/utils.py +0 -1
util/utils.py
CHANGED
|
@@ -39,7 +39,6 @@ def get_paddle_ocr():
|
|
| 39 |
use_gpu=False,
|
| 40 |
show_log=False,
|
| 41 |
max_batch_size=1024,
|
| 42 |
-
use_dilation=True,
|
| 43 |
det_db_score_mode='slow',
|
| 44 |
rec_batch_num=1024)
|
| 45 |
return _paddle_ocr
|
|
|
|
| 39 |
use_gpu=False,
|
| 40 |
show_log=False,
|
| 41 |
max_batch_size=1024,
|
|
|
|
| 42 |
det_db_score_mode='slow',
|
| 43 |
rec_batch_num=1024)
|
| 44 |
return _paddle_ocr
|