Spaces:
Running on Zero
Running on Zero
Download .env.example from Aniruddha7/QueryLensV2b: direct link, hf CLI and curl.
- Browser
- Download file 1.06 kB
-
https://huggingface.co/spaces/Aniruddha7/QueryLensV2b/resolve/main/.env.example
- Command line
-
hf download hf://spaces/Aniruddha7/QueryLensV2b/.env.example
-
curl -L -o .env.example https://huggingface.co/spaces/Aniruddha7/QueryLensV2b/resolve/main/.env.example
1.06 kB
| # Core DB | |
| # DB_CONNECTION_URL=postgresql://user:pass@localhost:5432/dbname | |
| # ββ Text-to-SQL LLM ββββββββββββββββββββββββββββββββββββββββββββββ | |
| # Recommended: HF Inference API (same as the Hugging Face Spaces deployment). | |
| # Set USE_HF_CLOUD=1 to force cloud-only. With USE_HF_CLOUD=0 the local Ollama | |
| # model is still preferred, but if it is not installed and HF_API_TOKEN is set, | |
| # the worker auto-falls back to HF Inference automatically. | |
| USE_HF_CLOUD=1 | |
| HF_API_TOKEN= | |
| HF_LLM_MODEL=Qwen/Qwen2.5-Coder-7B-Instruct | |
| # Cloud VQA via Groq (free tier) | |
| GROQ_API_KEY= | |
| GROQ_VISION_MODEL=qwen/qwen3.8-27b | |
| # Local Ollama (optional β only when models are installed locally) | |
| # USE_HF_CLOUD=0 | |
| # OLLAMA_BASE_URL=http://localhost:11434 | |
| # OLLAMA_MODEL_NAME=qwen2.5-coder:1.5b | |
| # GRANITE_MODEL_PATH=qwen3.5:2b | |
| # OLLAMA_OCR_QA_MODEL=gemma3:1b-it-qat | |
| # GRANITE_MODEL=qwen3.5:2b | |
| # Workers/timeouts | |
| WORKER_PORT=8700 | |
| MCP_PORT=8701 | |
| OCR_QA_TIMEOUT=45 | |
| INVARIANTS_BASE_TIMEOUT=180 | |