piper-voices-rknn / download_models.py
danielferr85's picture
Upload folder using huggingface_hub
3009faa verified
Raw
History Blame Contribute Delete
319 Bytes
from huggingface_hub import snapshot_download
#models = ["es","en","zh","fr"]
models = ["en"]
for model in models:
snapshot_download(
repo_id="rhasspy/piper-checkpoints",
repo_type="dataset",
allow_patterns=f"{model}/**",
local_dir=".",
local_dir_use_symlinks=False
)