dlaima's picture
Update uploph.py
ad943ea verified
raw
history blame
475 Bytes
from huggingface_hub import upload_folder
# Specify the model repository you want to upload to
repo_id = 'dlaima/Multiple_Image_captioning'
# Folder where you want to extract the files
extract_folder = 'C:\Users\Michela\Desktop\Github_Hugging_Face_DLAI\assets # Specify the extraction folder
# Upload the extracted folder
upload_folder(folder_path=extract_folder, repo_id=repo_id, commit_message="Upload extracted files")
print(f"Extracted files uploaded to {repo_id}")