File size: 293 Bytes
0a594a8
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
from huggingface_hub import push_to_hub

push_to_hub(
    model_id="Floobin/TSwifty-SN6",
    model_type="model",  # or "dataset" if it's a dataset repository
    local_dir=".",  # This means the current directory
    use_auth_token=True  # Set this to True to use your authentication token
)