From 547c9b18544406c1a843976dde86de9f8ec180eb Mon Sep 17 00:00:00 2001 From: Franck Abgrall Date: Tue, 11 Feb 2025 17:49:21 +0100 Subject: [PATCH 1/2] Improve Model Card components page --- docs/hub/model-cards-components.md | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/docs/hub/model-cards-components.md b/docs/hub/model-cards-components.md index 787c6096f..ec8f003ea 100644 --- a/docs/hub/model-cards-components.md +++ b/docs/hub/model-cards-components.md @@ -36,9 +36,11 @@ TintinIA is fine-tuned version of Stable-Diffusion-xl trained on 125 comics pane ``` -
+ -
+ + +See result [here](https://huggingface.co/alvdansen/littletinies#little-tinies). > Hint: Support of Card Components through the GUI editor coming soon... From 79b57aeb152ebd2bc93693fdc10965a4aea40e0e Mon Sep 17 00:00:00 2001 From: Franck Abgrall Date: Tue, 11 Feb 2025 17:56:56 +0100 Subject: [PATCH 2/2] update description --- docs/hub/model-cards-components.md | 22 ++++++++++------------ 1 file changed, 10 insertions(+), 12 deletions(-) diff --git a/docs/hub/model-cards-components.md b/docs/hub/model-cards-components.md index ec8f003ea..2b02a13fb 100644 --- a/docs/hub/model-cards-components.md +++ b/docs/hub/model-cards-components.md @@ -12,17 +12,15 @@ The `` component can be used in your model card to showcase your gene ```yaml widget: -- text: "drawing of tintin in a shop" - output: - url: "images/shop.png" -- text: "drawing of tintin watching rugby" - output: - url: "images/rugby.png" - parameters: - negative_prompt: "blurry" -- text: "tintin working at the office" - output: - url: "images/office.png" + - text: a girl wandering through the forest + output: + url: images/6CD03C101B7F6545EB60E9F48D60B8B3C2D31D42D20F8B7B9B149DD0C646C0C2.jpeg + - text: a tiny witch child + output: + url: images/7B482E1FDB39DA5A102B9CD041F4A2902A8395B3835105C736C5AD9C1D905157.jpeg + - text: an artist leaning over to draw something + output: + url: images/7CCEA11F1B74C8D8992C47C1C5DEA9BD6F75940B380E9E6EC7D01D85863AF718.jpeg ``` 2. Add the `` component to your card. The widget metadata will be used by the `` component to display the media with each associated prompt. @@ -32,7 +30,7 @@ widget: ## Model description -TintinIA is fine-tuned version of Stable-Diffusion-xl trained on 125 comics panels from Tintin album. +A very classic hand drawn cartoon style. ```