# Local environment for `docker compose up`. Copy to `.env` (which is # gitignored) and fill in the values. In production these are configured as # Space secrets at https://huggingface.co/spaces/Bani57/website/settings. # REQUIRED. Generate with: # python -c "import secrets; print(secrets.token_urlsafe(50))" DJANGO_SECRET_KEY=replace-me # Optional overrides (defaults shown). DJANGO_ALLOWED_HOSTS=localhost,127.0.0.1 CORS_ALLOWED_ORIGINS=http://localhost:7860 HF_CHECKPOINTS_REPO=Bani57/checkpoints TORCH_DEVICE=cpu # Optional: a read token (https://huggingface.co/settings/tokens) lifts # anonymous rate limits and roughly triples cold-start download speed. # Only required when the checkpoint repo is private. # HF_TOKEN=hf_... # Rust-accelerated transfer is enabled by default in the image. Set to 0 to # disable (e.g. when debugging the pure-Python download path). # HF_HUB_ENABLE_HF_TRANSFER=1