TTS / docker-compose.yml
DoanNgocTan110199
Initial commit
95f1d5c
Raw
History Blame Contribute Delete
515 Bytes
services:
khanhtts-api:
build: .
image: khanhtts-api:latest
ports:
- "8000:8000"
environment:
MODEL_DIR: /app/KhanhTTS-OmniVoice
DEVICE_MAP: cpu
TORCH_DTYPE: float32
DEFAULT_REF_AUDIO: /app/refs/reference.wav
# DEFAULT_REF_TEXT: transcript của reference.wav (khuyến nghị)
volumes:
# Mount local model (avoids baking ~3GB into image)
- ./KhanhTTS-OmniVoice:/app/KhanhTTS-OmniVoice:ro
- ./refs:/app/refs:ro
restart: unless-stopped