Delete uploph.py
Browse files
uploph.py
DELETED
|
@@ -1,12 +0,0 @@
|
|
| 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")
|
| 11 |
-
|
| 12 |
-
print(f"Extracted files uploaded to {repo_id}")
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|