Spaces:
Configuration error
Configuration error
Download scripts/_cpu_overrides.py from Hypn0/factory-rag: direct link, hf CLI and curl.
- Browser
- Download file 492 Bytes
-
https://huggingface.co/spaces/Hypn0/factory-rag/resolve/main/scripts/_cpu_overrides.py
- Command line
-
hf download hf://spaces/Hypn0/factory-rag/scripts/_cpu_overrides.py
-
curl -L -o _cpu_overrides.py https://huggingface.co/spaces/Hypn0/factory-rag/resolve/main/scripts/_cpu_overrides.py
492 Bytes
| """CPU-suite runtime overrides. | |
| Import this module BEFORE the ingest/eval entrypoints. config.py reads no | |
| env vars for its feature flags, so the flags are patched on the imported | |
| config module (module-level import of config everywhere means call sites | |
| see the override). | |
| NEVER import this from app code -- it is test/CI-only. | |
| """ | |
| import config | |
| config.ENABLE_VISION_ENRICHMENT = False # needs Ollama VLM (GPU tier) | |
| config.ENABLE_QUERY_ENHANCEMENT = False # needs Ollama LLM (GPU tier) | |