from huggingface_hub import snapshot_download from constants import HF_MODEL_REPO_NAME, ROOT_DIR import os def download_images(): snapshot_download(repo_id=HF_MODEL_REPO_NAME, repo_type="dataset", local_dir=os.path.join(ROOT_DIR, "images"))