niofrequency commited on
Commit
068c53c
·
verified ·
1 Parent(s): a393a51

Create upload.py

Browse files
Files changed (1) hide show
  1. upload.py +14 -0
upload.py ADDED
@@ -0,0 +1,14 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ from huggingface_hub import HfApi
2
+
3
+ api = HfApi()
4
+
5
+ print("Starting 6GB upload... This may take a few minutes depending on Codespace speed.")
6
+
7
+ api.upload_file(
8
+ path_or_fileobj="biglust.safetensors", # The file on your Codespace
9
+ path_in_repo="biglust.safetensors", # What it will be named on HF
10
+ repo_id="niofrequency/ARX", # YOUR REPO NAME
11
+ repo_type="model"
12
+ )
13
+
14
+ print("Upload Complete! The model is now in your Hugging Face repository.")