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 )