Skip to content

Commit

Permalink
Update src/huggingface_hub/hf_api.py
Browse files Browse the repository at this point in the history
Co-authored-by: Adrin Jalali <adrin.jalali@gmail.com>
  • Loading branch information
SBrandeis and adrinjalali authored Jul 26, 2022
1 parent c6435d3 commit a76fbc8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/huggingface_hub/hf_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -222,7 +222,7 @@ def __init__(
self.modelId = modelId
self.sha = sha
self.lastModified = lastModified
self.tags = tags if tags is not None else []
self.tags = tags or []
self.pipeline_tag = pipeline_tag
self.siblings = (
[RepoFile(**x) for x in siblings] if siblings is not None else None
Expand Down

0 comments on commit a76fbc8

Please # to comment.