from huggingface_hub import HfApi api = HfApi() api.upload_folder( folder_path="/home/float/dreambooth/checkpoint-1000", repo_id="float-trip/marsey-db-sd2", repo_type="model", )