From d129ff203f70b79b01650757c266cf2fd759a59d Mon Sep 17 00:00:00 2001 From: "yuze.zyz" Date: Sat, 7 Dec 2024 01:31:45 +0800 Subject: [PATCH] fix hub param --- swift/hub/hub.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/swift/hub/hub.py b/swift/hub/hub.py index 1315da7e9a..a28fe699ee 100644 --- a/swift/hub/hub.py +++ b/swift/hub/hub.py @@ -160,7 +160,7 @@ def upload_folder( run_as_future: bool = False, **kwargs, ): - cls.push_to_hub(repo_id, folder_path, path_in_repo, commit_message, commit_description, token, revision, + cls.push_to_hub(repo_id, folder_path, path_in_repo, commit_message, commit_description, token, True, revision, ignore_patterns) return CommitInfo( commit_url=f'https://www.modelscope.cn/models/{repo_id}/files',