Skip to content

Commit

Permalink
fix(setup): specify paddleocr version to fix compatibility issue
Browse files Browse the repository at this point in the history
  • Loading branch information
myhloli committed Jul 12, 2024
1 parent eb4625a commit 61fab96
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,9 +32,9 @@ def parse_requirements(filename):
},
install_requires=parse_requirements('requirements.txt'), # 项目依赖的第三方库
extras_require={
"gpu": ["paddleocr", "paddlepaddle-gpu"],
"cpu": ["paddleocr", "paddlepaddle"],
"full-cpu": ["unimernet", "matplotlib", "ultralytics", "paddleocr", "paddlepaddle"],
"gpu": ["paddleocr==2.7.3", "paddlepaddle-gpu"],
"cpu": ["paddleocr==2.7.3", "paddlepaddle"],
"full-cpu": ["unimernet", "matplotlib", "ultralytics", "paddleocr==2.7.3", "paddlepaddle"],
},
description="A practical tool for converting PDF to Markdown", # 简短描述
long_description=long_description, # 详细描述
Expand Down

0 comments on commit 61fab96

Please sign in to comment.