mymodel / login.py
simone00's picture
Add files using upload-large-folder tool
17d4058 verified
raw
history blame contribute delete
296 Bytes
from huggingface_hub import HfApi
api = HfApi()
api.upload_large_folder(
folder_path=".",
repo_id="simone00/mymodel",
repo_type="dataset", # "model", "dataset", or "space"
num_workers=4, # parallel uploads — increase if you have good bandwidth
)