23 lines
437 B
Bash
Executable File
23 lines
437 B
Bash
Executable File
#!/bin/bash
|
|
# Download pre-quantized Qwen3-TTS GGUF models from HuggingFace.
|
|
# Usage: ./models.sh
|
|
|
|
set -eu
|
|
|
|
REPO="Serveurperso/qwentts.cpp-GGUF"
|
|
DIR="models"
|
|
mkdir -p "$DIR"
|
|
|
|
dl() {
|
|
local file="$1"
|
|
if [ -f "$DIR/$file" ]; then
|
|
echo "[OK] $file"
|
|
return
|
|
fi
|
|
echo "[Download] $file"
|
|
hf download --quiet "$REPO" "$file" --local-dir "$DIR"
|
|
}
|
|
|
|
dl "qwen-tokenizer-12hz-F32.gguf"
|
|
dl "qwen-base-0.6b-Q8_0.gguf"
|