File size: 742 Bytes
7829d29
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
# =======================================
# ⚙️ 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