resources: cpu: "2" memory: "8Gi" scaling: min_replicas: 0 max_replicas: 1 # Tell HF to use handler.py entrypoint: handler.py # Force-install these pip packages in the container dependencies: - pip install --upgrade pip - pip install TTS==0.21.1 - pip install fastapi==0.110.0 uvicorn==0.29.0 soundfile==0.12.1 numpy==1.26.4 transformers==4.38.1