Update requirements.txt
Browse files- requirements.txt +7 -41
requirements.txt
CHANGED
|
@@ -1,41 +1,7 @@
|
|
| 1 |
-
|
| 2 |
-
|
| 3 |
-
|
| 4 |
-
|
| 5 |
-
|
| 6 |
-
|
| 7 |
-
|
| 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 |
-
|
|
|
|
| 1 |
+
gradio
|
| 2 |
+
easyocr
|
| 3 |
+
numpy
|
| 4 |
+
Pillow
|
| 5 |
+
transformers
|
| 6 |
+
torch
|
| 7 |
+
sentencepiece
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|