ApnaLawyer / requirements.txt
adarsh-maurya's picture
Update requirements.txt
a48dec1 verified
# ================================
# Streamlit App and Core Packages
# ================================
streamlit==1.44.1 # Web app framework
python-dotenv==1.0.0 # Environment variables
# ====================
# Langchain Ecosystem
# ====================
langchain==0.1.16
langchain-core==0.1.42
langchain-community==0.0.32
langchain-fireworks==0.1.1
langchain-together==0.0.2
# ==================
# Embeddings & LLMs
# ==================
transformers==4.39.3 # Must use huggingface_hub >=0.19.3
sentence-transformers==2.7.0 # Compatible with transformers 4.39+
huggingface_hub==0.21.4 # Works with both above
torch==2.1.2 # Required by sentence-transformers
accelerate==0.27.2
faiss-cpu==1.7.4
einops==0.7.0
# ===================
# Firebase Integration
# ===================
pyrebase4==4.5.0 # Firebase client
firebase-admin==6.2.0 # Admin SDK
pycryptodome==3.20.0 # Cryptography
# ===================
# PDF & File Handling
# ===================
pypdf==4.0.0 # PDF processing
unstructured==0.12.4 # Document parsing
htbuilder==0.9.0 # HTML builder
# ========================
# Audio Input & Processing
# ========================
sounddevice==0.4.6 # Audio capture
soundfile==0.12.1 # Audio files
numpy==1.26.4 # Numerical ops
wave==0.0.2 # WAV handling
# ====================
# Translation & NLP
# ====================
deep-translator==1.11.4 # Translation
langdetect==1.0.9 # Language detection
# ============================
# LLM API Clients & Utilities
# ============================
openai==1.86.0 # OpenAI API
requests==2.31.0 # HTTP client
urllib3==1.26.18 # URL handling
requests_toolbelt==0.10.1 # Requests utilities