# from huggingface_hub import create_repo # create_repo("amaye15/DaViT") from huggingface_hub import HfApi api = HfApi() # Upload all the content from the local folder to your remote Space. # By default, files are uploaded at the root of the repo api.upload_folder( folder_path="/Users/andrewmayes/Dev/DaViT/DaViT", repo_id="amaye15/DaViT", repo_type="model", )