Spaces:
Running
Running
Update requirements.txt
Browse files- requirements.txt +5 -180
requirements.txt
CHANGED
|
@@ -1,224 +1,49 @@
|
|
| 1 |
-
# ============================================================================
|
| 2 |
-
# LifeAdmin AI - Python Dependencies
|
| 3 |
-
# Hugging Face MCP Birthday Hackathon - Track 2: MCP in Action
|
| 4 |
-
# ============================================================================
|
| 5 |
-
|
| 6 |
-
# ============================================================================
|
| 7 |
-
# Core Framework
|
| 8 |
-
# ============================================================================
|
| 9 |
gradio==6.0.0
|
| 10 |
python-dotenv==1.0.0
|
| 11 |
-
|
| 12 |
-
# ============================================================================
|
| 13 |
-
# LLM & AI APIs
|
| 14 |
-
# ============================================================================
|
| 15 |
-
# OpenAI - Best quality, requires credits
|
| 16 |
openai==1.54.0
|
| 17 |
-
|
| 18 |
-
# Groq - Fast inference, recommended (FREE tier available)
|
| 19 |
groq==0.11.0
|
| 20 |
-
|
| 21 |
-
# Anthropic - Optional alternative
|
| 22 |
anthropic==0.39.0
|
| 23 |
-
|
| 24 |
-
# ============================================================================
|
| 25 |
-
# Document Processing
|
| 26 |
-
# ============================================================================
|
| 27 |
-
# PDF handling
|
| 28 |
PyPDF2==3.0.1
|
| 29 |
pdf2image==1.17.0
|
| 30 |
pdfplumber==0.11.4
|
| 31 |
-
|
| 32 |
-
# OCR - Text extraction from images
|
| 33 |
pytesseract==0.3.13
|
| 34 |
easyocr==1.7.2
|
| 35 |
Pillow==10.4.0
|
| 36 |
-
|
| 37 |
-
# Document formats
|
| 38 |
python-docx==1.1.0
|
| 39 |
python-pptx==1.0.2
|
| 40 |
openpyxl==3.1.5
|
| 41 |
xlrd==2.0.1
|
| 42 |
-
|
| 43 |
-
# ============================================================================
|
| 44 |
-
# RAG & Embeddings
|
| 45 |
-
# ============================================================================
|
| 46 |
-
# Vector database
|
| 47 |
chromadb==0.5.20
|
| 48 |
-
|
| 49 |
-
# Embeddings
|
| 50 |
sentence-transformers==3.3.1
|
| 51 |
-
|
| 52 |
-
# LangChain (optional, for advanced features)
|
| 53 |
langchain==0.3.12
|
| 54 |
langchain-community==0.3.12
|
| 55 |
-
|
| 56 |
-
# ============================================================================
|
| 57 |
-
# MCP (Model Context Protocol)
|
| 58 |
-
# ============================================================================
|
| 59 |
mcp==0.9.0
|
| 60 |
-
|
| 61 |
-
# ============================================================================
|
| 62 |
-
# Audio Processing (Voice Mode)
|
| 63 |
-
# ============================================================================
|
| 64 |
-
# Text-to-Speech
|
| 65 |
elevenlabs==1.89.0
|
| 66 |
-
|
| 67 |
-
# Audio utilities
|
| 68 |
pydub==0.25.1
|
| 69 |
soundfile==0.12.1
|
| 70 |
librosa==0.10.2.post1
|
| 71 |
-
|
| 72 |
-
# ============================================================================
|
| 73 |
-
# HTTP & Networking
|
| 74 |
-
# ============================================================================
|
| 75 |
aiohttp==3.11.7
|
| 76 |
requests==2.32.3
|
| 77 |
httpx==0.27.2
|
| 78 |
-
|
| 79 |
-
# JSONRPC for MCP
|
| 80 |
jsonrpc-base==2.2.0
|
| 81 |
jsonrpc-websocket==3.1.5
|
| 82 |
jsonrpc-async==2.1.2
|
| 83 |
-
|
| 84 |
-
# ============================================================================
|
| 85 |
-
# Date & Time Processing
|
| 86 |
-
# ============================================================================
|
| 87 |
python-dateutil==2.9.0
|
| 88 |
icalendar==6.1.0
|
| 89 |
pytz==2024.2
|
| 90 |
-
|
| 91 |
-
# ============================================================================
|
| 92 |
-
# Data Processing
|
| 93 |
-
# ============================================================================
|
| 94 |
pandas==2.2.3
|
| 95 |
numpy==1.26.4
|
| 96 |
-
|
| 97 |
-
# ============================================================================
|
| 98 |
-
# Machine Learning & AI
|
| 99 |
-
# ============================================================================
|
| 100 |
torch==2.5.1
|
| 101 |
transformers==4.47.1
|
| 102 |
tokenizers==0.21.0
|
| 103 |
-
|
| 104 |
-
# ============================================================================
|
| 105 |
-
# Database
|
| 106 |
-
# ============================================================================
|
| 107 |
-
# SQLite comes with Python, but we need the driver
|
| 108 |
sqlalchemy==2.0.36
|
| 109 |
-
|
| 110 |
-
# ============================================================================
|
| 111 |
-
# Utilities
|
| 112 |
-
# ============================================================================
|
| 113 |
-
# Progress bars
|
| 114 |
tqdm==4.67.1
|
| 115 |
-
|
| 116 |
-
# Environment management
|
| 117 |
environs==11.0.0
|
| 118 |
-
|
| 119 |
-
# File type detection
|
| 120 |
python-magic==0.4.27
|
| 121 |
-
|
| 122 |
-
# UUID generation
|
| 123 |
uuid==1.30
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 124 |
|
| 125 |
-
# ============================================================================
|
| 126 |
-
# Testing & Development (Optional)
|
| 127 |
-
# ============================================================================
|
| 128 |
-
# Uncomment for development
|
| 129 |
-
# pytest==8.3.4
|
| 130 |
-
# pytest-asyncio==0.24.0
|
| 131 |
-
# black==24.10.0
|
| 132 |
-
# flake8==7.1.1
|
| 133 |
-
# mypy==1.13.0
|
| 134 |
-
|
| 135 |
-
# ============================================================================
|
| 136 |
-
# System Dependencies Notes
|
| 137 |
-
# ============================================================================
|
| 138 |
-
#
|
| 139 |
-
# Some packages require system-level dependencies:
|
| 140 |
-
#
|
| 141 |
-
# For Tesseract OCR (Ubuntu/Debian):
|
| 142 |
-
# sudo apt-get install tesseract-ocr
|
| 143 |
-
#
|
| 144 |
-
# For Tesseract OCR (macOS):
|
| 145 |
-
# brew install tesseract
|
| 146 |
-
#
|
| 147 |
-
# For pdf2image (Ubuntu/Debian):
|
| 148 |
-
# sudo apt-get install poppler-utils
|
| 149 |
-
#
|
| 150 |
-
# For pdf2image (macOS):
|
| 151 |
-
# brew install poppler
|
| 152 |
-
#
|
| 153 |
-
# For audio processing (Ubuntu/Debian):
|
| 154 |
-
# sudo apt-get install libsndfile1 ffmpeg
|
| 155 |
-
#
|
| 156 |
-
# For audio processing (macOS):
|
| 157 |
-
# brew install libsndfile ffmpeg
|
| 158 |
-
#
|
| 159 |
-
# ============================================================================
|
| 160 |
-
|
| 161 |
-
# ============================================================================
|
| 162 |
-
# Optional: Hugging Face Deployment
|
| 163 |
-
# ============================================================================
|
| 164 |
-
# These are automatically available on HF Spaces
|
| 165 |
-
# huggingface-hub==0.26.2
|
| 166 |
-
# spaces==0.30.1
|
| 167 |
-
|
| 168 |
-
# ============================================================================
|
| 169 |
-
# Version Compatibility Notes
|
| 170 |
-
# ============================================================================
|
| 171 |
-
#
|
| 172 |
-
# Python Version: 3.10+
|
| 173 |
-
#
|
| 174 |
-
# Key compatibility considerations:
|
| 175 |
-
# - Gradio 6.0+ required for latest features
|
| 176 |
-
# - ChromaDB 0.5+ for best performance
|
| 177 |
-
# - OpenAI 1.0+ uses new API structure
|
| 178 |
-
# - Groq SDK requires Python 3.10+
|
| 179 |
-
#
|
| 180 |
-
# ============================================================================
|
| 181 |
-
|
| 182 |
-
# ============================================================================
|
| 183 |
-
# Installation Instructions
|
| 184 |
-
# ============================================================================
|
| 185 |
-
#
|
| 186 |
-
# Standard installation:
|
| 187 |
-
# pip install -r requirements.txt
|
| 188 |
-
#
|
| 189 |
-
# For development with all tools:
|
| 190 |
-
# pip install -r requirements.txt
|
| 191 |
-
# pip install pytest black flake8 mypy
|
| 192 |
-
#
|
| 193 |
-
# For GPU acceleration (OCR, embeddings):
|
| 194 |
-
# pip install torch torchvision torchaudio --index-url https://download.pytorch.org/whl/cu121
|
| 195 |
-
#
|
| 196 |
-
# ============================================================================
|
| 197 |
-
|
| 198 |
-
# ============================================================================
|
| 199 |
-
# Estimated Package Sizes
|
| 200 |
-
# ============================================================================
|
| 201 |
-
# Total download size: ~3-4 GB (includes ML models)
|
| 202 |
-
# Disk space required: ~8-10 GB (after installation)
|
| 203 |
-
#
|
| 204 |
-
# Largest packages:
|
| 205 |
-
# - torch: ~2 GB
|
| 206 |
-
# - transformers + models: ~1-2 GB
|
| 207 |
-
# - easyocr + models: ~500 MB
|
| 208 |
-
# - chromadb: ~200 MB
|
| 209 |
-
#
|
| 210 |
-
# ============================================================================
|
| 211 |
-
|
| 212 |
-
# ============================================================================
|
| 213 |
-
# License Information
|
| 214 |
-
# ============================================================================
|
| 215 |
-
# All packages listed are open source with permissive licenses
|
| 216 |
-
# (MIT, Apache 2.0, BSD, etc.)
|
| 217 |
-
#
|
| 218 |
-
# API Services used:
|
| 219 |
-
# - OpenAI: Paid, requires API key
|
| 220 |
-
# - Groq: Free tier available, requires API key
|
| 221 |
-
# - ElevenLabs: Free tier available, requires API key
|
| 222 |
-
# - Hugging Face: Free inference API available
|
| 223 |
-
#
|
| 224 |
-
# ============================================================================
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
gradio==6.0.0
|
| 2 |
python-dotenv==1.0.0
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 3 |
openai==1.54.0
|
|
|
|
|
|
|
| 4 |
groq==0.11.0
|
|
|
|
|
|
|
| 5 |
anthropic==0.39.0
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 6 |
PyPDF2==3.0.1
|
| 7 |
pdf2image==1.17.0
|
| 8 |
pdfplumber==0.11.4
|
|
|
|
|
|
|
| 9 |
pytesseract==0.3.13
|
| 10 |
easyocr==1.7.2
|
| 11 |
Pillow==10.4.0
|
|
|
|
|
|
|
| 12 |
python-docx==1.1.0
|
| 13 |
python-pptx==1.0.2
|
| 14 |
openpyxl==3.1.5
|
| 15 |
xlrd==2.0.1
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 16 |
chromadb==0.5.20
|
|
|
|
|
|
|
| 17 |
sentence-transformers==3.3.1
|
|
|
|
|
|
|
| 18 |
langchain==0.3.12
|
| 19 |
langchain-community==0.3.12
|
|
|
|
|
|
|
|
|
|
|
|
|
| 20 |
mcp==0.9.0
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 21 |
elevenlabs==1.89.0
|
|
|
|
|
|
|
| 22 |
pydub==0.25.1
|
| 23 |
soundfile==0.12.1
|
| 24 |
librosa==0.10.2.post1
|
|
|
|
|
|
|
|
|
|
|
|
|
| 25 |
aiohttp==3.11.7
|
| 26 |
requests==2.32.3
|
| 27 |
httpx==0.27.2
|
|
|
|
|
|
|
| 28 |
jsonrpc-base==2.2.0
|
| 29 |
jsonrpc-websocket==3.1.5
|
| 30 |
jsonrpc-async==2.1.2
|
|
|
|
|
|
|
|
|
|
|
|
|
| 31 |
python-dateutil==2.9.0
|
| 32 |
icalendar==6.1.0
|
| 33 |
pytz==2024.2
|
|
|
|
|
|
|
|
|
|
|
|
|
| 34 |
pandas==2.2.3
|
| 35 |
numpy==1.26.4
|
|
|
|
|
|
|
|
|
|
|
|
|
| 36 |
torch==2.5.1
|
| 37 |
transformers==4.47.1
|
| 38 |
tokenizers==0.21.0
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 39 |
sqlalchemy==2.0.36
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 40 |
tqdm==4.67.1
|
|
|
|
|
|
|
| 41 |
environs==11.0.0
|
|
|
|
|
|
|
| 42 |
python-magic==0.4.27
|
|
|
|
|
|
|
| 43 |
uuid==1.30
|
| 44 |
+
pytest==8.3.4
|
| 45 |
+
pytest-asyncio==0.24.0
|
| 46 |
+
black==24.10.0
|
| 47 |
+
flake8==7.1.1
|
| 48 |
+
mypy==1.13.0
|
| 49 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|