Skip to content

Commit

Permalink
💄 style
Browse files Browse the repository at this point in the history
  • Loading branch information
nateraw committed Aug 24, 2022
1 parent 195bca6 commit df2ad60
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/huggingface_hub/repocard.py
Original file line number Diff line number Diff line change
Expand Up @@ -301,7 +301,7 @@ def from_template(

template_path = template_path or cls.default_template_path
kwargs = card_data.to_dict().copy()
kwargs.update(template_kwargs) # Template_kwargs have priority
kwargs.update(template_kwargs) # Template_kwargs have priority
content = jinja2.Template(Path(template_path).read_text()).render(
card_data=card_data.to_yaml(), **kwargs
)
Expand Down

0 comments on commit df2ad60

Please sign in to comment.