File size: 336 Bytes
bb5c624
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
from huggingface_hub import HfApi

api = HfApi()
api.upload_file(
    path_or_fileobj="experiments/20250913_optimized_filip-model/epoch=1993-train_loss=0.10.ckpt",
    path_in_repo="epoch=1993-train_loss=0.10.ckpt",
    repo_id="yzhouchen001/flare",
    repo_type="space", # automatically uses your saved token
    use_auth_token=True
)