from huggingface_hub import snapshot_download, upload_folder, login | |
source_dir = snapshot_download( | |
repo_id="locke12/HunyuanVideoLoras", | |
local_dir="./temp_hunyuan_loras", | |
local_dir_use_symlinks=False | |
) | |
upload_folder( | |
repo_id="rahul7star/hunyuan-lora", | |
folder_path="./temp_hunyuan_loras", | |
repo_type="model", | |
commit_message="Copied all files from locke12/HunyuanVideoLoras" | |
) | |