File size: 457 Bytes
af72502
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
# 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")