Skip to content

Commit 03ab231

Browse files
committed
update requirements.txt
1 parent 2a0dc62 commit 03ab231

File tree

2 files changed

+21
-18
lines changed

2 files changed

+21
-18
lines changed

demo.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -233,7 +233,7 @@ def parse_doc(
233233

234234
doc_path_list = [
235235
# r"D:\CodeProjects\doc\KittyDoc\github\KittyDoc\tests\checkbox_test.png",
236-
# "D:\\file\\text-pdf\\示例1-论文模板.pdf",
236+
"D:\\file\\text-pdf\\示例1-论文模板.pdf",
237237
# "D:\\file\\text-pdf\\比亚迪财报.pdf",
238238
# "D:\\file\\text-pdf\\GBT3620.1-2016.pdf",
239239
# r'C:\ocr\img\table\3766ae2b506b8f345fcc9eee39b31ac8.png'

requirements.txt

Lines changed: 20 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,28 @@
11
boto3>=1.28.43
2-
fast-langdetect>=0.2.3,<0.3.0
32
loguru>=0.6.0
43
numpy>=1.21.6
5-
pydantic>=2.7.2,<2.11
6-
torch>=2.2.2,!=2.5.0,!=2.5.1,<3
7-
torchvision
8-
94
pdfminer.six==20250506
105
tqdm>=4.67.1
11-
openai>=1.70.0,<2
12-
pdftext>=0.6.2
13-
reportlab
14-
pypdf>=5.6.0
15-
pypdfium2>=4.30.0
166
requests
17-
tokenizers>=0.13.2
18-
rapidocr>=3.1.0,<=3.3.0
19-
onnxruntime>=1.18.1
20-
openvino>=2024.6.0
21-
ftfy>=6.3.1,<7
7+
pypdfium2>=4.30.0
8+
pypdf>=5.6.0
9+
reportlab
10+
pdftext>=0.6.2
11+
json-repair>=0.46.2
12+
13+
fast-langdetect>=0.2.3,<0.3.0
14+
scikit-image>=0.25.0,<1.0.0
15+
openai>=1.70.0,<2
16+
beautifulsoup4>=4.13.5,<5
17+
18+
pydantic>=2.7.2,<2.11
2219
matplotlib>=3.10,<4
20+
ftfy>=6.3.1,<7
2321
shapely>=2.0.7,<3
24-
scikit-image>=0.25.0,<1.0.0
25-
beautifulsoup4>=4.13.5,<5
22+
torch>=2.6.0,<2.8.0
23+
torchvision
24+
onnxruntime>=1.18.0
25+
openvino>=2024.6.0
26+
27+
tokenizers>=0.13.2
28+
rapidocr>=3.1.0,<=3.3.0

0 commit comments

Comments
 (0)