Spaces:
Runtime error
Runtime error
Download backend/.env.example from dev-rexpro/ai: direct link, hf CLI and curl.
- Browser
- Download file 484 Bytes
-
https://huggingface.co/spaces/dev-rexpro/ai/resolve/main/backend/.env.example
- Command line
-
hf download hf://spaces/dev-rexpro/ai/backend/.env.example
-
curl -L -o .env.example https://huggingface.co/spaces/dev-rexpro/ai/resolve/main/backend/.env.example
484 Bytes
| # Port (HF Spaces biasanya 7860) | |
| PORT=7860 | |
| HOST=0.0.0.0 | |
| # CORS - HARUS diisi, jangan * | |
| # Ganti dengan URL frontend kamu (tanpa trailing slash) | |
| CORS_ALLOW_ORIGIN=http://localhost:5173 | |
| # Proxy headers | |
| FORWARDED_ALLOW_IPS=* | |
| # Secret key (bisa kosong - auto generate, tapi kalau mau set manual: | |
| REXPRO_SECRET_KEY=6bqutotibnlsEKNeZgBC1acdwoaoTfZYSLPXFDl8NTtOCMpDC4Ml9Nrfu9uSH3e2 | |
| # Optional: default false untuk save memory | |
| USE_SLIM=true | |
| USE_CUDA=false | |
| USE_OLLAMA=false |