ContactSearchAssistant / requirements.txt
Muhammed Essam
Performance: Fix
3dcdd5f
# Hugging Face Spaces Requirements
# Optimized for Gradio deployment
# Gradio for the web interface
gradio>=4.44.0
# AI/ML Core Libraries - with version pinning for compatibility
transformers>=4.35.0,<5.0.0 # Transformer models (needed for sentence-transformers)
accelerate>=0.25.0 # Required by transformers for init_empty_weights
sentence-transformers>=2.2.0 # For division matching embeddings
openai-whisper>=20231117 # For speech-to-text
gliner>=0.1.0 # For name extraction
# Scientific Computing
numpy>=1.24.0,<2.0.0 # Pin to avoid compatibility issues
scipy>=1.10.0 # For audio file handling
# PyTorch - CPU version for HF Spaces
torch>=2.0.0
# Data Validation
pydantic>=2.0.0 # For models.py
# Standard Libraries (usually included but good to specify)
# Note: logging, os, tempfile, pathlib, typing, difflib, re are standard library