# ─────────────────────────────────────────────────────────────────────────────
# TensorFlow Transfer Learning Starter — pinned-ish dependencies
# ─────────────────────────────────────────────────────────────────────────────
#
# For GPU support on Linux:
#   Replace tensorflow>=2.15.0 with tensorflow[and-cuda]>=2.15.0
#
# For Apple Silicon (M1/M2):
#   Use tensorflow-macos>=2.15.0 + tensorflow-metal>=1.1.0
#
# Install:
#   pip install -r requirements.txt

# ── Core deep learning ────────────────────────────────────────────────────────
tensorflow>=2.15.0          # CPU wheel works on all platforms out of the box

# ── Image loading (API image decoding + app) ──────────────────────────────────
Pillow>=10.0.0

# ── Configuration ─────────────────────────────────────────────────────────────
pyyaml>=6.0.1
python-dotenv>=1.0.0

# ── API service ───────────────────────────────────────────────────────────────
fastapi>=0.109.0
uvicorn[standard]>=0.27.0
pydantic>=2.5.0

# ── Streamlit UI ──────────────────────────────────────────────────────────────
streamlit>=1.31.0

# ── Numerical utilities ───────────────────────────────────────────────────────
numpy>=1.26.0

# ── Testing ───────────────────────────────────────────────────────────────────
pytest>=7.4.0
pytest-cov>=4.1.0
httpx>=0.26.0               # async test client for FastAPI TestClient
