File size: 208 Bytes
27233ce
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
from huggingface_hub import HfApi

api = HfApi(token=os.getenv("HF_TOKEN"))
api.upload_folder(
    folder_path="/path/to/local/model",
    repo_id="Sukumar2005/sentimental-analysis",
    repo_type="model",
)