# KCC AgriAdvisor — HF Spaces requirements (no torch — smaller image) # streamlit IS required because step4_app.py imports it at module top # (api.py imports several pure-logic helpers from step4_app). # ── Core ML / Vector search ─────────────────────────────────────────────────── faiss-cpu>=1.7.4 sentence-transformers>=2.7 scikit-learn>=1.3 lightgbm>=4.0 xgboost>=2.0 catboost>=1.2 # ── Data ────────────────────────────────────────────────────────────────────── pyarrow>=14.0 pandas>=2.0 numpy>=1.24 # ── LLM APIs ────────────────────────────────────────────────────────────────── google-genai>=1.0 groq>=0.9 # ── REST API ────────────────────────────────────────────────────────────────── fastapi>=0.111 uvicorn[standard]>=0.29 python-multipart>=0.0.9 slowapi>=0.1.9 python-jose[cryptography]>=3.3.0 streamlit>=1.33 Pillow>=10.0 # ── Environment / config ────────────────────────────────────────────────────── python-dotenv>=1.0 # ── HuggingFace ─────────────────────────────────────────────────────────────── huggingface-hub>=0.23 transformers>=4.40 # ── Utilities ───────────────────────────────────────────────────────────────── tqdm>=4.66 python-dateutil>=2.8 pytz>=2024.1 langdetect>=1.0.9 requests>=2.31 duckdb>=0.10 httpx>=0.27