File size: 319 Bytes
3009faa
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
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
    )