Spaces:
Runtime error
Runtime error
# Spaces build optimization configuration | |
# This file helps Hugging Face Spaces build faster | |
[build] | |
# Use UV for faster package installation | |
package_manager = "uv" | |
# Python version specification | |
python_version = "3.10" | |
# Cache dependencies for faster rebuilds | |
cache_dependencies = true | |
# Optimize Docker layers | |
optimize_layers = true | |
[deployment] | |
# Startup optimizations | |
preload_models = true | |
warmup_inference = true | |
# Resource limits | |
max_memory = "2GB" | |
max_cpu = "2" | |
# Timeout settings | |
startup_timeout = "300s" | |
inference_timeout = "30s" | |