Update requirements.txt
Browse files- requirements.txt +21 -7
requirements.txt
CHANGED
|
@@ -1,8 +1,22 @@
|
|
| 1 |
-
|
| 2 |
-
|
| 3 |
-
|
| 4 |
-
|
| 5 |
-
|
| 6 |
transformers>=4.30.0
|
| 7 |
-
|
| 8 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# Core Python Libraries
|
| 2 |
+
torch>=1.10.0
|
| 3 |
+
Pillow>=8.3.1
|
| 4 |
+
|
| 5 |
+
# Machine Learning and NLP
|
| 6 |
transformers>=4.30.0
|
| 7 |
+
sentencepiece>=0.1.96
|
| 8 |
+
|
| 9 |
+
# OCR Dependencies
|
| 10 |
+
pytesseract>=0.3.9
|
| 11 |
+
opencv-python-headless>=4.5.3
|
| 12 |
+
|
| 13 |
+
# Web Interface
|
| 14 |
+
gradio>=3.50.0
|
| 15 |
+
|
| 16 |
+
# Additional Utilities
|
| 17 |
+
numpy>=1.21.0
|
| 18 |
+
|
| 19 |
+
# Tesseract Language Data (Install separately)
|
| 20 |
+
# Note: Requires additional system-level installation of Tesseract and Hindi language data
|
| 21 |
+
# On Ubuntu/Debian: sudo apt-get install tesseract-ocr-hin
|
| 22 |
+
# On other systems, follow Tesseract installation guides
|