diff options
| author | soryu <soryu@soryu.co> | 2026-01-29 13:06:33 +0000 |
|---|---|---|
| committer | soryu <soryu@soryu.co> | 2026-01-29 13:06:33 +0000 |
| commit | 74e77be0ce3adae5889894e9a791fce96d7c82df (patch) | |
| tree | b2457cb6828c481d5f6b97b5636530ffafbd82a5 | |
| parent | 61017ee388320925dcce83f8edf8890666f791d2 (diff) | |
| download | soryu-74e77be0ce3adae5889894e9a791fce96d7c82df.tar.gz soryu-74e77be0ce3adae5889894e9a791fce96d7c82df.zip | |
Ensure tokenizor exists for TTS model
| -rwxr-xr-x | makima/sh/download-models.sh | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/makima/sh/download-models.sh b/makima/sh/download-models.sh index 4d791af..e5e3689 100755 --- a/makima/sh/download-models.sh +++ b/makima/sh/download-models.sh @@ -118,7 +118,11 @@ fi QWEN3_TTS_DIR="${QWEN3_TTS_DIR:-/app/models/qwen3-tts}" download_qwen3_tts() { - if [ -d "$QWEN3_TTS_DIR" ] && [ -f "$QWEN3_TTS_DIR/model.safetensors" ] && [ -f "$QWEN3_TTS_DIR/speech_tokenizer.safetensors" ]; then + if [ -d "$QWEN3_TTS_DIR" ] && \ + [ -f "$QWEN3_TTS_DIR/model.safetensors" ] && \ + [ -f "$QWEN3_TTS_DIR/speech_tokenizer.safetensors" ] && \ + [ -f "$QWEN3_TTS_DIR/tokenizer.json" ] && \ + [ -f "$QWEN3_TTS_DIR/config.json" ]; then echo "Qwen3-TTS models already exist, skipping..." return 0 fi |
