Spaces:
Running
Running
Upload requirements.txt with huggingface_hub
Browse files- requirements.txt +8 -23
requirements.txt
CHANGED
|
@@ -1,24 +1,9 @@
|
|
| 1 |
-
gradio>=4.0.0
|
| 2 |
-
transformers>=4.35.0
|
| 3 |
-
torch>=2.0.0
|
| 4 |
-
accelerate>=0.24.0
|
| 5 |
-
sentencepiece>=0.1.99
|
| 6 |
-
protobuf>=3.20.0
|
| 7 |
-
scipy>=1.11.0
|
| 8 |
-
sacremoses>=0.0.53
|
| 9 |
pyspellchecker>=0.7.0
|
| 10 |
-
# OCR dependencies
|
| 11 |
-
pytesseract>=0.3.10
|
| 12 |
-
Pillow>=10.0.0
|
| 13 |
-
opencv-python-headless>=4.8.0
|
| 14 |
-
# Language detection
|
| 15 |
-
langdetect>=1.0.9
|
| 16 |
-
fasttext>=0.9.2
|
| 17 |
-
# DeepSeek API for translation fallback
|
| 18 |
-
openai>=1.0.0
|
| 19 |
-
httpx>=0.25.0
|
| 20 |
-
# Image processing
|
| 21 |
-
numpy>=1.24.0
|
| 22 |
-
# PaddleOCR for better OCR (CPU-friendly)
|
| 23 |
-
paddlepaddle>=2.5.0
|
| 24 |
-
paddleocr>=2.7.0
|
|
|
|
| 1 |
+
gradio>=4.0.0
|
| 2 |
+
transformers>=4.35.0
|
| 3 |
+
torch>=2.0.0
|
| 4 |
+
accelerate>=0.24.0
|
| 5 |
+
sentencepiece>=0.1.99
|
| 6 |
+
protobuf>=3.20.0
|
| 7 |
+
scipy>=1.11.0
|
| 8 |
+
sacremoses>=0.0.53
|
| 9 |
pyspellchecker>=0.7.0
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|