safe-space2 / deployment.yaml
parthraninga's picture
Upload 66 files
a831961 verified
raw
history blame contribute delete
449 Bytes
# Configuration for Hugging Face Spaces deployment
runtime: python
python_version: "3.9"
# Environment variables for the deployment
env:
PYTHONPATH: "."
PORT: "7860"
# Startup command - HF Spaces will use app.py by default
startup_command: "python app.py"
# Health check endpoint
health_check:
path: "/health"
interval: 30s
timeout: 10s
retries: 3
# Resource limits
resources:
memory: "2Gi"
cpu: "1000m"