dlaima commited on
Commit
4a823cf
·
verified ·
1 Parent(s): de3b8ea

Create uploph.py

Browse files
Files changed (1) hide show
  1. uploph.py +10 -0
uploph.py ADDED
@@ -0,0 +1,10 @@
 
 
 
 
 
 
 
 
 
 
 
1
+ from huggingface_hub import upload_folder
2
+
3
+ # Specify the model repository you want to upload to
4
+ repo_id = 'dlaima/Multiple_Image_captioning'
5
+
6
+ # Folder where you want to extract the files
7
+ extract_folder = 'C:\Users\Michela\Desktop\Github_Hugging_Face_DLAI\assets # Specify the extraction folder
8
+
9
+ # Upload the extracted folder
10
+ upload_folder(folder_path=extract_folder, repo_id=repo_id, commit_message="Upload extracted files")