File size: 577 Bytes
ee78b3d
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
# Requirements for HuggingFace Spaces deployment
# Optimized for NVIDIA T4 GPU environment

# Core dependencies
torch>=2.1.0
torchvision>=0.16.0
transformers>=4.47.0
accelerate>=1.6.0

# Image processing
pillow>=9.3.0
opencv-python-headless>=4.8.0
numpy>=1.24.0

# PDF processing
pymupdf>=1.26.0

# Gradio and web interface
gradio>=5.37.0

# Text processing and markdown
markdown>=3.0.0
python-markdown-math>=0.8
omegaconf>=2.3.0

# Model utilities
timm>=0.5.4

# RAG and AI dependencies
sentence-transformers>=2.2.0
scikit-learn>=1.3.0

# Google Gemini API
google-generativeai