ファイル
bdi_podman_serverconf/containers/qwen-tts/entrypoint.sh
T

15 行
397 B
Bash

#!/bin/bash
# Qwen3-TTS entrypoint script
# Starts the FastAPI server; model weights are downloaded automatically
# on first request via from_pretrained() and cached under /app/models
set -e
LOAD="${QWEN_TTS_LOAD:-customvoice,voiceclone}"
echo "=== Qwen3-TTS Server (CPU) ==="
echo "Loading: $LOAD"
echo "Device: cpu"
echo
exec uvicorn server:app --host 0.0.0.0 --port 8000 --app-dir /app "$@"