Spaces:
Running
Running
Update requirements.txt
Browse files- requirements.txt +3 -4
requirements.txt
CHANGED
|
@@ -3,15 +3,14 @@
|
|
| 3 |
# from forcing the compilation of older, incompatible versions (like numpy 1.19.3).
|
| 4 |
numpy==1.24.3
|
| 5 |
scipy==1.11.4
|
|
|
|
| 6 |
scikit-learn>=1.3.0
|
| 7 |
# --- RESOLUTION FOR C COMPILATION ERROR: END ---
|
| 8 |
|
| 9 |
-
|
| 10 |
# Web Framework
|
| 11 |
gradio==4.44.0
|
| 12 |
|
| 13 |
# Deep Learning Frameworks (CPU only)
|
| 14 |
-
# Simplified PyTorch installation
|
| 15 |
torch==2.1.0
|
| 16 |
|
| 17 |
# Transformers and NLP
|
|
@@ -19,7 +18,7 @@ transformers==4.37.0
|
|
| 19 |
tokenizers>=0.15.0
|
| 20 |
TorchCRF==1.1.0
|
| 21 |
|
| 22 |
-
# Optimum and ONNX Runtime
|
| 23 |
optimum==1.17.1
|
| 24 |
onnxruntime==1.16.3
|
| 25 |
|
|
@@ -36,5 +35,5 @@ pytesseract==0.3.10
|
|
| 36 |
# Image Processing
|
| 37 |
Pillow==10.1.0
|
| 38 |
|
| 39 |
-
# Pix2Text
|
| 40 |
pix2text==1.1.4
|
|
|
|
| 3 |
# from forcing the compilation of older, incompatible versions (like numpy 1.19.3).
|
| 4 |
numpy==1.24.3
|
| 5 |
scipy==1.11.4
|
| 6 |
+
pandas>=2.0.0 # Add this line - ensures compatible pandas with pre-built wheels
|
| 7 |
scikit-learn>=1.3.0
|
| 8 |
# --- RESOLUTION FOR C COMPILATION ERROR: END ---
|
| 9 |
|
|
|
|
| 10 |
# Web Framework
|
| 11 |
gradio==4.44.0
|
| 12 |
|
| 13 |
# Deep Learning Frameworks (CPU only)
|
|
|
|
| 14 |
torch==2.1.0
|
| 15 |
|
| 16 |
# Transformers and NLP
|
|
|
|
| 18 |
tokenizers>=0.15.0
|
| 19 |
TorchCRF==1.1.0
|
| 20 |
|
| 21 |
+
# Optimum and ONNX Runtime
|
| 22 |
optimum==1.17.1
|
| 23 |
onnxruntime==1.16.3
|
| 24 |
|
|
|
|
| 35 |
# Image Processing
|
| 36 |
Pillow==10.1.0
|
| 37 |
|
| 38 |
+
# Pix2Text
|
| 39 |
pix2text==1.1.4
|