KarthiEz commited on
Commit
57463f4
·
verified ·
1 Parent(s): cf6c12c

Update requirements.txt

Browse files
Files changed (1) hide show
  1. requirements.txt +13 -2
requirements.txt CHANGED
@@ -1,9 +1,16 @@
1
  # Hugging Face Spaces Requirements
2
  # Optimized for deployment
3
 
4
- # PaddlePaddle and PaddleOCR
5
  paddlepaddle==3.2.2
6
- paddleocr>=3.3.2
 
 
 
 
 
 
 
7
 
8
  # Image processing
9
  opencv-python-headless>=4.8.0
@@ -15,6 +22,10 @@ numpy>=1.21,<2.0
15
  # Gradio for web interface
16
  gradio>=4.0.0
17
 
 
 
 
 
18
  # Utilities (optional, can be removed if not needed)
19
  python-docx>=0.8.11
20
  openpyxl>=3.0.0
 
1
  # Hugging Face Spaces Requirements
2
  # Optimized for deployment
3
 
4
+ # PaddlePaddle
5
  paddlepaddle==3.2.2
6
+
7
+ # PaddleOCR with doc-parser extras (required for PPStructureV3)
8
+ # doc-parser includes document parsing features like PP-StructureV3
9
+ paddleocr[doc-parser]>=3.3.2
10
+
11
+ # Install paddlex with OCR extras (required for PPStructureV3)
12
+ # This installs additional dependencies needed for document structure analysis
13
+ paddlex[ocr]>=3.0.0
14
 
15
  # Image processing
16
  opencv-python-headless>=4.8.0
 
22
  # Gradio for web interface
23
  gradio>=4.0.0
24
 
25
+ # Additional dependencies that might be needed
26
+ scipy>=1.9.0
27
+ scikit-image>=0.19.0
28
+
29
  # Utilities (optional, can be removed if not needed)
30
  python-docx>=0.8.11
31
  openpyxl>=3.0.0