Create requirements.txt
Browse files- requirements.txt +23 -0
requirements.txt
ADDED
|
@@ -0,0 +1,23 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# Core
|
| 2 |
+
gradio>=4.0.0
|
| 3 |
+
transformers>=4.40.0
|
| 4 |
+
torch>=2.1.0
|
| 5 |
+
accelerate>=0.27.0
|
| 6 |
+
sentencepiece>=0.2.0
|
| 7 |
+
bitsandbytes>=0.42.0
|
| 8 |
+
|
| 9 |
+
# Vision & image processing
|
| 10 |
+
Pillow>=10.0.0
|
| 11 |
+
|
| 12 |
+
# OCR options
|
| 13 |
+
paddleocr>=2.7.0.3
|
| 14 |
+
paddlepaddle>=2.5.2 # CPU build; change to paddlepaddle-gpu if GPU available
|
| 15 |
+
pytesseract>=0.3.10
|
| 16 |
+
|
| 17 |
+
# Utilities
|
| 18 |
+
numpy>=1.26.0
|
| 19 |
+
scipy>=1.11.0
|
| 20 |
+
|
| 21 |
+
# Optional (helps with performance and tokenizer issues)
|
| 22 |
+
protobuf>=4.25.0
|
| 23 |
+
regex
|