Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions src/huggingface_hub/_commit_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -641,6 +641,7 @@ def token_refresher() -> tuple[str, int]:

if len(all_paths_ops) > 0:
all_paths = [str(op.path_or_fileobj) for op in all_paths_ops]
all_sha256s = [op.upload_info.sha256.hex() for op in all_paths_ops]
upload_files(
all_paths,
xet_endpoint,
Expand All @@ -649,6 +650,7 @@ def token_refresher() -> tuple[str, int]:
progress_callback,
repo_type,
request_headers=xet_headers,
sha256s=all_sha256s,
)

if len(all_bytes_ops) > 0:
Expand Down
Loading