Skip to content

Commit 2fed86c

Browse files
Merge branch 'main' into main
2 parents ad0bb49 + 62cba28 commit 2fed86c

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/huggingface_hub/_upload_large_folder.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -522,6 +522,7 @@ def _get_upload_mode(items: List[JOB_ITEM_T], api: "HfApi", repo_id: str, repo_t
522522
repo_id=repo_id,
523523
headers=api._build_hf_headers(),
524524
revision=quote(revision, safe=""),
525+
endpoint=api.endpoint,
525526
)
526527
for item, addition in zip(items, additions):
527528
paths, metadata = item

0 commit comments

Comments
 (0)