#!/bin/bash
# Qwen3-TTS voice clone startup script
# Port: 8009
# GPU: 0

cd /home/rongye/ProgramFiles/ViGent2/models/Qwen3-TTS

# Ensure conda env bin is in PATH (for sox)
export PATH="/home/rongye/ProgramFiles/miniconda3/envs/qwen-tts/bin:$PATH"

# Default model (can be overridden externally)
export QWEN_TTS_MODEL="${QWEN_TTS_MODEL:-1.7B-Base}"

exec python qwen_tts_server.py
