huggingface/Sync GitHub to Hugging Face Hub

Sync a GitHub repository to the Hugging Face Hub using the hf CLI

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Stale
License
None
namedescriptionrequireddefault
github_repo_idGitHub repository ID (owner/repo)yes
subdirectorySubdirectory to sync (optional, defaults to root)no""
huggingface_repo_idHugging Face repository ID (owner/repo)yes
hf_tokenHugging Face API tokenyes
repo_typeRepository type (model, dataset, or space)nospace
space_sdkSpace SDK (gradio, streamlit, docker, or static) - only used when repo_type is spacenogradio
privateWhether the repository should be privatenofalse
hf_versionhf CLI package version to pin. Leave unset to install the latest published version.no

no outputs