Amandeep01 commited on
Commit
1ecd105
·
verified ·
1 Parent(s): d9c66cc

Update requirements.txt

Browse files
Files changed (1) hide show
  1. requirements.txt +38 -6
requirements.txt CHANGED
@@ -1,9 +1,41 @@
1
- torch>=1.10.0
2
- Pillow>=8.3.1
 
 
 
 
3
  transformers>=4.30.0
4
- sentencepiece>=0.1.96
5
- pytesseract>=0.3.9
6
- opencv-python-headless>=4.5.3
 
 
 
 
 
7
  gradio>=3.50.0
8
- numpy>=1.21.0
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
9
 
 
1
+ # Core Python Libraries
2
+ torch>=2.0.0
3
+ Pillow>=9.5.0
4
+ numpy>=1.23.5
5
+
6
+ # Machine Learning and NLP Dependencies
7
  transformers>=4.30.0
8
+ sentencepiece>=0.1.97
9
+ sacremoses>=0.0.53
10
+
11
+ # OCR Dependencies
12
+ pytesseract>=0.3.10
13
+ opencv-python-headless>=4.7.0.72
14
+
15
+ # Web Interface
16
  gradio>=3.50.0
17
+
18
+ # Additional NLP Utilities
19
+ sacrebleu>=2.3.1
20
+
21
+ # Error Handling and Logging
22
+ tqdm>=4.65.0
23
+
24
+ # System and Performance Utilities
25
+ psutil>=5.9.5
26
+
27
+ # Optional: For potential future improvements
28
+ scikit-image>=0.20.0
29
+ scipy>=1.10.1
30
+
31
+ # Hugging Face Specific
32
+ datasets>=2.12.0
33
+ huggingface-hub>=0.15.1
34
+
35
+ # Pin important transitive dependencies
36
+ protobuf>=4.23.2
37
+ filelock>=3.12.2
38
+
39
+ # Recommendation: Add version specifiers to ensure compatibility
40
+ # Adjust versions as needed based on your specific environment and requirements
41