# pip install huggingface_hub | |
# Terminal - huggingface_hub login | |
# Terminal - huggingface-cli login | |
# Copy Access token(Write) from HuggingFace | |
from huggingface_hub import HfApi | |
from huggingface_hub import create_repo | |
create_repo("AvinashHesta/blank_lora_23042024") # Commant if repo is already available | |
api = HfApi() | |
api.upload_folder(folder_path = "/home/ec2-user/SageMaker/20_stormigee woman/model", repo_id = "AvinashHesta/blank_lora_23042024") | |