This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from huggingface_hub import hf_hub_download, list_repo_files | |
repo_id = 'Wuvin/Unique3D' | |
repo_type = "space" | |
local_dir = "./ckpts" | |
# 1. List all files in the repository | |
files = list_repo_files(repo_id=repo_id, repo_type=repo_type) | |
# 2. Filter files that match your pattern (e.g., start with "ckpt/") |