Spaces:
Sleeping
Sleeping
| # ======================================= | |
| # ⚙️ Hugging Face Space Runtime Configuration | |
| # ======================================= | |
| python: "3.10" # Stable for FAISS + Gradio + Transformers | |
| # App entrypoint (FastAPI with Gradio mount) | |
| entrypoint: "app:app" | |
| hardware: "cpu-basic" # For small to medium FAISS indexes | |
| # hardware: "cpu-upgrade" # Uncomment for larger index (>100 MB) or slower summaries | |
| timeout: 600 # 10-minute build timeout | |
| autoreload: true # Auto-reload app on file updates (optional) | |
| # Cache persistent resources (prevents redownload) | |
| cache: | |
| - data/ | |
| - persistent/ | |
| - logs/ | |
| # Explicit build hook (optional, for clarity) | |
| build: | |
| commands: | |
| - bash postBuild | |