import os import time from tqdm import tqdm from huggingface_hub import HfApi # 初始化 API api = HfApi() api.upload_large_folder( repo_id="jamesqijingsong/zidian", repo_type="dataset", folder_path="./images", path_in_repo="image", )