dmitrynovikov2121 commited on
Commit
d6367a6
Β·
verified Β·
1 Parent(s): 3bd5c6e

Update requirements.txt

Browse files
Files changed (1) hide show
  1. requirements.txt +7 -2
requirements.txt CHANGED
@@ -6,7 +6,7 @@ loguru>=0.6.0
6
  numpy>=1.21.6,<2.0.0
7
  fast-langdetect>=0.2.3
8
  scikit-learn>=1.0.2
9
- transformers
10
  pdfminer.six==20231228
11
  unimernet==0.2.3
12
  doclayout_yolo==0.0.2b1
@@ -26,4 +26,9 @@ gradio-pdf>=0.0.21
26
  openai
27
  telebot
28
  requests
29
- PyPDF2
 
 
 
 
 
 
6
  numpy>=1.21.6,<2.0.0
7
  fast-langdetect>=0.2.3
8
  scikit-learn>=1.0.2
9
+ transformers>=4.37.2 # Updated for LayoutLMv3
10
  pdfminer.six==20231228
11
  unimernet==0.2.3
12
  doclayout_yolo==0.0.2b1
 
26
  openai
27
  telebot
28
  requests
29
+ PyPDF2>=3.0.0 # Updated for better PDF parsing
30
+ Pillow>=10.0.0 # Required for image processing
31
+ pytesseract>=0.3.10 # Optional for OCR capabilities
32
+ python-Levenshtein>=0.21.1 # For text similarity comparison
33
+ pdf2image>=1.16.3 # For PDF to image conversion
34
+ layoutlmv3 @ git+https://github.com/microsoft/unilm.git#subdirectory=layoutlmv3 # For LayoutLMv3