File size: 245 Bytes
a3a57c6
 
 
 
 
 
1
2
3
4
5
6
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"))