Download recipe/scripts/en_reference.sh from gowombat/tiny-voca-da: direct link, hf CLI and curl.
- Browser
- Download file 467 Bytes
-
https://huggingface.co/gowombat/tiny-voca-da/resolve/main/recipe/scripts/en_reference.sh
- Command line
-
hf download hf://gowombat/tiny-voca-da/recipe/scripts/en_reference.sh
-
curl -L -o en_reference.sh https://huggingface.co/gowombat/tiny-voca-da/resolve/main/recipe/scripts/en_reference.sh
467 Bytes
| # Render scripts/en_probes.txt with the original English tiny-voca (voices F2, M2). | |
| set -euo pipefail | |
| for VOICE in M2 F2; do | |
| OUT="out/en-ref-$VOICE"; mkdir -p "$OUT"; n=0 | |
| while IFS= read -r line; do | |
| n=$((n + 1)) | |
| python -m tiny_voca.infer --checkpoint weights/tiny-voca.pt --voice "$VOICE" \ | |
| --text "$line" --output "$OUT/en_$(printf %02d $n).wav" > /dev/null | |
| done < scripts/en_probes.txt | |
| echo "$VOICE: $n clips -> $OUT" | |
| done | |