Skip to content

Commit 178a518

Browse files
committed
fix: Orchestrator - Storage providers - HuggingFace - Fixed credentials issue in the get_info method
1 parent c3f6c24 commit 178a518

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cloud_pipelines_backend/storage_providers/huggingface_repo_storage.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -167,7 +167,7 @@ def get_info(self, uri: HuggingFaceRepoUri) -> interfaces.DataInfo:
167167
)
168168
elif isinstance(repo_object, hf_api.RepoFolder):
169169
# Calculating the total size of files in the folder
170-
child_repo_objects = huggingface_hub.list_repo_tree(
170+
child_repo_objects = self._client.list_repo_tree(
171171
repo_id=uri.repo_id,
172172
repo_type=uri.repo_type,
173173
path_in_repo=uri.path,

0 commit comments

Comments
 (0)