Sanket-Setu / backend /.env.example
devrajsinh2012's picture
Initial commit: SanketSetu - Sign Language Recognition System
cf93910
# SanketSetu Backend β€” environment variables
# Copy this file to .env and edit as needed.
# All values below are the defaults; remove a line to keep the default.
# ── Model paths (default: resolved from repo root) ─────────────────────────
# WEIGHTS_DIR=/absolute/path/to/model/dir
# ── Inference ───────────────────────────────────────────────────────────────
# Pipeline A confidence below this β†’ also run Pipeline B
CONFIDENCE_THRESHOLD=0.70
# Pipeline A+B ensemble confidence below this β†’ also run Pipeline C (if image)
SECONDARY_THRESHOLD=0.60
# Which pipeline to run: A | B | C | ensemble
PIPELINE_MODE=ensemble
# ── Server ──────────────────────────────────────────────────────────────────
MAX_WS_CONNECTIONS=100
# Comma-separated list of allowed CORS origins
CORS_ORIGINS=http://localhost:5173,http://localhost:3000
# ── TensorFlow / Keras ──────────────────────────────────────────────────────
KERAS_BACKEND=tensorflow
TF_CPP_MIN_LOG_LEVEL=3
CUDA_VISIBLE_DEVICES= # empty = CPU-only, skip GPU scan (faster startup)
TF_ENABLE_ONEDNN_OPTS=0
OMP_NUM_THREADS=4
# ── Logging ─────────────────────────────────────────────────────────────────
LOG_LEVEL=INFO