Skip to content

Commit

Permalink
add paddlepaddle in requirements.txt
Browse files Browse the repository at this point in the history
  • Loading branch information
myhloli committed Jun 12, 2024
1 parent 384c979 commit 5aa2e01
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 0 additions & 1 deletion magic_pdf/model/doc_analyze_by_pp_structurev2.py
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,6 @@ def doc_analyze(pdf_bytes: bytes, ocr: bool = False, show_log: bool = False):
page_height = img_dict['height']
result = ocr_engine(img)
spans = []
need_remove = []
for line in result:
line.pop('img')
'''
Expand Down
2 changes: 2 additions & 0 deletions requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -15,3 +15,5 @@ scikit-learn>=1.0.2
nltk==3.8.1
s3pathlib>=2.1.1
pytest
paddlepaddle
paddleocr>=2.6.0.3

0 comments on commit 5aa2e01

Please sign in to comment.