ChangyueShi commited on
Commit
31a9e31
·
verified ·
1 Parent(s): 3502b8c

Upload folder using huggingface_hub

Browse files
Files changed (3) hide show
  1. .DS_Store +0 -0
  2. cut3r_512_dpt_4_64.pth +3 -0
  3. upload.py +9 -0
.DS_Store ADDED
Binary file (6.15 kB). View file
 
cut3r_512_dpt_4_64.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:45f7e98a0a64dbeb54901ae2b878cd8cd125f20a4497316483f0bd6f109f8103
3
+ size 3173761006
upload.py ADDED
@@ -0,0 +1,9 @@
 
 
 
 
 
 
 
 
 
 
1
+ from huggingface_hub import HfApi
2
+ import os
3
+
4
+ api = HfApi(token=os.getenv("HF_TOKEN"))
5
+ api.upload_folder(
6
+ folder_path="/Users/shichangyue/Desktop/cut3r-model",
7
+ repo_id="ChangyueShi/cut3r",
8
+ repo_type="model",
9
+ )