Spaces:
Runtime error
Runtime error
Update requirements.txt
Browse files- requirements.txt +10 -21
requirements.txt
CHANGED
@@ -1,34 +1,23 @@
|
|
1 |
-
# Requirements for HuggingFace Spaces deployment
|
2 |
-
# Optimized for NVIDIA T4 GPU environment
|
3 |
-
|
4 |
# Core dependencies
|
|
|
|
|
|
|
|
|
|
|
|
|
5 |
torch>=2.1.0
|
6 |
torchvision>=0.16.0
|
7 |
transformers>=4.47.0
|
8 |
-
accelerate>=1.6.0
|
9 |
-
|
10 |
-
# Image processing
|
11 |
-
pillow>=9.3.0
|
12 |
-
opencv-python-headless>=4.8.0
|
13 |
-
numpy>=1.24.0
|
14 |
|
15 |
# PDF processing
|
16 |
-
|
17 |
|
18 |
-
#
|
19 |
-
gradio>=5.37.0
|
20 |
-
|
21 |
-
# Text processing and markdown
|
22 |
markdown>=3.0.0
|
23 |
-
python-markdown-math>=0.8
|
24 |
-
omegaconf>=2.3.0
|
25 |
-
|
26 |
-
# Model utilities
|
27 |
-
timm>=0.5.4
|
28 |
|
29 |
-
# RAG
|
30 |
sentence-transformers>=2.2.0
|
31 |
scikit-learn>=1.3.0
|
32 |
|
33 |
-
# Google Gemini API
|
34 |
google-generativeai
|
|
|
|
|
|
|
|
|
1 |
# Core dependencies
|
2 |
+
gradio>=4.0.0
|
3 |
+
numpy>=1.24.0
|
4 |
+
pillow>=9.3.0
|
5 |
+
opencv-python>=4.8.0
|
6 |
+
|
7 |
+
# AI/ML dependencies
|
8 |
torch>=2.1.0
|
9 |
torchvision>=0.16.0
|
10 |
transformers>=4.47.0
|
|
|
|
|
|
|
|
|
|
|
|
|
11 |
|
12 |
# PDF processing
|
13 |
+
PyMuPDF>=1.23.0
|
14 |
|
15 |
+
# Markdown processing
|
|
|
|
|
|
|
16 |
markdown>=3.0.0
|
|
|
|
|
|
|
|
|
|
|
17 |
|
18 |
+
# RAG dependencies
|
19 |
sentence-transformers>=2.2.0
|
20 |
scikit-learn>=1.3.0
|
21 |
|
22 |
+
# Google Gemini API (minimum version for Gemma 3n support)
|
23 |
google-generativeai
|