from huggingface_hub import HfApi api = HfApi() api.upload_folder( folder_path="./final_checkpoint", repo_id="Dang-gu/codi_finetune_2nd", repo_type="model", )