Use HWC for images

This commit is contained in:
Simon Alibert
2024-11-19 18:47:32 +01:00
parent 1f13bda25b
commit 6203641710
8 changed files with 40 additions and 36 deletions

View File

@@ -468,6 +468,7 @@ def create_lerobot_dataset_card(
text: str | None = None,
info: dict | None = None,
license: str | None = None,
url: str | None = None,
citation: str | None = None,
arxiv: str | None = None,
) -> DatasetCard:
@@ -488,6 +489,8 @@ def create_lerobot_dataset_card(
card.data.license = license
if tags:
card.data.tags += tags
if url:
card.text += f"## Homepage:\n{url}\n"
if text:
card.text += f"{text}\n"
if info: