fix(rapidocr): fixed missing dict

* pip包model中缺少 ppocr_keys_v1.txt, 每次都要重新下载
github action那里要不要加我不太清楚

* fix tqdm exception when started without a console

---------

Co-authored-by: SWHL <liekkaskono@163.com>
This commit is contained in:
ok-oldkingandSWHL authored and GitHub committed 2025-04-26 09:34:16 +08:00
1 parent 30b2d644dd
commit 2d9862b2f1
2 files changed
+2 -1

No files matched your search

+1
View File
@@ -3,6 +3,7 @@
# @Contact: liekkaskono@163.com
import hashlib
import importlib
import sys
from pathlib import Path
from typing import Union
from urllib.parse import urlparse
+1 -1
View File
@@ -61,7 +61,7 @@ setuptools.setup(
install_requires=read_txt("requirements.txt"),
package_dir={"": MODULE_NAME},
packages=setuptools.find_namespace_packages(where=MODULE_NAME),
package_data={"": ["*.onnx", "*.yaml"]},
package_data={"": ["*.onnx", "*.yaml", "*.txt"]},
keywords=[
"ocr,text_detection,text_recognition,db,onnxruntime,paddleocr,openvino,rapidocr"
],