Spaces:
Paused
Paused
Update requirements.txt
Browse files- requirements.txt +43 -43
requirements.txt
CHANGED
|
@@ -1,88 +1,88 @@
|
|
| 1 |
# Core FastAPI dependencies
|
| 2 |
-
fastapi==0.
|
| 3 |
-
uvicorn[standard]==0.
|
| 4 |
-
pydantic==2.
|
| 5 |
-
pydantic[email]==2.
|
| 6 |
-
aiohttp==3.9.
|
| 7 |
|
| 8 |
# Authentication & Security
|
| 9 |
python-jose[cryptography]==3.3.0
|
| 10 |
passlib[bcrypt]==1.7.4
|
| 11 |
-
python-multipart==0.0.
|
| 12 |
-
bcrypt==4.
|
| 13 |
|
| 14 |
# Database
|
| 15 |
-
sqlalchemy==2.0.
|
| 16 |
|
| 17 |
# Gradio for HF Spaces interface
|
| 18 |
-
gradio==4.
|
| 19 |
|
| 20 |
# HTTP requests
|
| 21 |
-
requests==2.
|
| 22 |
-
httpx==0.
|
| 23 |
|
| 24 |
# File processing
|
| 25 |
python-docx==1.1.0
|
| 26 |
PyPDF2==3.0.1
|
| 27 |
-
pdf2image==1.
|
| 28 |
-
Pillow==10.
|
| 29 |
-
|
| 30 |
-
# AI/ML dependencies -
|
| 31 |
-
numpy==1.
|
| 32 |
-
transformers==4.
|
| 33 |
-
torch==2.
|
| 34 |
-
torchaudio==2.
|
| 35 |
-
torchvision==0.
|
| 36 |
-
tokenizers==0.
|
| 37 |
-
sentence-transformers==2.
|
| 38 |
|
| 39 |
# OCR specific dependencies
|
| 40 |
-
PyMuPDF==1.
|
| 41 |
-
opencv-python-headless==4.
|
| 42 |
|
| 43 |
# Text processing
|
| 44 |
-
spacy==3.7.
|
| 45 |
nltk==3.8.1
|
| 46 |
|
| 47 |
# Web scraping
|
| 48 |
-
beautifulsoup4==4.12.
|
| 49 |
-
lxml==
|
| 50 |
-
selenium==4.
|
| 51 |
|
| 52 |
# Utilities
|
| 53 |
-
python-dotenv==1.0.
|
| 54 |
pathlib2==2.3.7
|
| 55 |
-
typing-extensions==4.
|
| 56 |
|
| 57 |
# Logging and monitoring
|
| 58 |
-
structlog==
|
| 59 |
|
| 60 |
# Date and time
|
| 61 |
-
python-dateutil==2.
|
| 62 |
|
| 63 |
# Environment and configuration
|
| 64 |
-
pydantic-settings==2.
|
| 65 |
|
| 66 |
# Optional: Redis for caching
|
| 67 |
-
redis==5.0.
|
| 68 |
|
| 69 |
# Development dependencies
|
| 70 |
-
pytest==
|
| 71 |
-
pytest-asyncio==0.
|
| 72 |
|
| 73 |
# Hugging Face specific
|
| 74 |
-
huggingface-hub==0.
|
| 75 |
|
| 76 |
# Additional utilities
|
| 77 |
-
aiofiles==23.2.
|
| 78 |
-
jinja2==3.1.
|
| 79 |
|
| 80 |
# Image processing
|
| 81 |
-
scikit-image==0.
|
| 82 |
|
| 83 |
# Additional missing dependencies
|
| 84 |
-
websockets==
|
| 85 |
python-magic==0.4.27
|
| 86 |
chardet==5.2.0
|
| 87 |
-
protobuf==
|
| 88 |
-
psutil==5.9.8
|
|
|
|
| 1 |
# Core FastAPI dependencies
|
| 2 |
+
fastapi==0.111.0
|
| 3 |
+
uvicorn[standard]==0.29.0
|
| 4 |
+
pydantic==2.7.1
|
| 5 |
+
pydantic[email]==2.7.1
|
| 6 |
+
aiohttp==3.9.5
|
| 7 |
|
| 8 |
# Authentication & Security
|
| 9 |
python-jose[cryptography]==3.3.0
|
| 10 |
passlib[bcrypt]==1.7.4
|
| 11 |
+
python-multipart==0.0.9
|
| 12 |
+
bcrypt==4.1.3
|
| 13 |
|
| 14 |
# Database
|
| 15 |
+
sqlalchemy==2.0.30
|
| 16 |
|
| 17 |
# Gradio for HF Spaces interface
|
| 18 |
+
gradio==4.31.5
|
| 19 |
|
| 20 |
# HTTP requests
|
| 21 |
+
requests==2.32.3
|
| 22 |
+
httpx==0.27.0
|
| 23 |
|
| 24 |
# File processing
|
| 25 |
python-docx==1.1.0
|
| 26 |
PyPDF2==3.0.1
|
| 27 |
+
pdf2image==1.17.0
|
| 28 |
+
Pillow==10.3.0
|
| 29 |
+
|
| 30 |
+
# AI/ML dependencies - UPDATED VERSIONS FOR COMPATIBILITY
|
| 31 |
+
numpy==1.26.4
|
| 32 |
+
transformers==4.41.2
|
| 33 |
+
torch==2.3.0
|
| 34 |
+
torchaudio==2.3.0
|
| 35 |
+
torchvision==0.18.0
|
| 36 |
+
tokenizers==0.19.1
|
| 37 |
+
sentence-transformers==2.7.0
|
| 38 |
|
| 39 |
# OCR specific dependencies
|
| 40 |
+
PyMuPDF==1.24.4
|
| 41 |
+
opencv-python-headless==4.9.0.80
|
| 42 |
|
| 43 |
# Text processing
|
| 44 |
+
spacy==3.7.4
|
| 45 |
nltk==3.8.1
|
| 46 |
|
| 47 |
# Web scraping
|
| 48 |
+
beautifulsoup4==4.12.3
|
| 49 |
+
lxml==5.2.2
|
| 50 |
+
selenium==4.21.0
|
| 51 |
|
| 52 |
# Utilities
|
| 53 |
+
python-dotenv==1.0.1
|
| 54 |
pathlib2==2.3.7
|
| 55 |
+
typing-extensions==4.12.0
|
| 56 |
|
| 57 |
# Logging and monitoring
|
| 58 |
+
structlog==24.2.0
|
| 59 |
|
| 60 |
# Date and time
|
| 61 |
+
python-dateutil==2.9.0
|
| 62 |
|
| 63 |
# Environment and configuration
|
| 64 |
+
pydantic-settings==2.3.0
|
| 65 |
|
| 66 |
# Optional: Redis for caching
|
| 67 |
+
redis==5.0.4
|
| 68 |
|
| 69 |
# Development dependencies
|
| 70 |
+
pytest==8.2.1
|
| 71 |
+
pytest-asyncio==0.23.6
|
| 72 |
|
| 73 |
# Hugging Face specific
|
| 74 |
+
huggingface-hub==0.23.1
|
| 75 |
|
| 76 |
# Additional utilities
|
| 77 |
+
aiofiles==23.2.2
|
| 78 |
+
jinja2==3.1.4
|
| 79 |
|
| 80 |
# Image processing
|
| 81 |
+
scikit-image==0.24.0
|
| 82 |
|
| 83 |
# Additional missing dependencies
|
| 84 |
+
websockets==12.0
|
| 85 |
python-magic==0.4.27
|
| 86 |
chardet==5.2.0
|
| 87 |
+
protobuf==5.27.1
|
| 88 |
+
psutil==5.9.8
|