Skip to content

Commit cb0f33c

Browse files
authored
Improve Model Card components page (#1607)
* Improve Model Card components page * update description
1 parent 276327f commit cb0f33c

File tree

1 file changed

+14
-14
lines changed

1 file changed

+14
-14
lines changed

docs/hub/model-cards-components.md

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -12,17 +12,15 @@ The `<Gallery />` component can be used in your model card to showcase your gene
1212

1313
```yaml
1414
widget:
15-
- text: "drawing of tintin in a shop"
16-
output:
17-
url: "images/shop.png"
18-
- text: "drawing of tintin watching rugby"
19-
output:
20-
url: "images/rugby.png"
21-
parameters:
22-
negative_prompt: "blurry"
23-
- text: "tintin working at the office"
24-
output:
25-
url: "images/office.png"
15+
- text: a girl wandering through the forest
16+
output:
17+
url: images/6CD03C101B7F6545EB60E9F48D60B8B3C2D31D42D20F8B7B9B149DD0C646C0C2.jpeg
18+
- text: a tiny witch child
19+
output:
20+
url: images/7B482E1FDB39DA5A102B9CD041F4A2902A8395B3835105C736C5AD9C1D905157.jpeg
21+
- text: an artist leaning over to draw something
22+
output:
23+
url: images/7CCEA11F1B74C8D8992C47C1C5DEA9BD6F75940B380E9E6EC7D01D85863AF718.jpeg
2624
```
2725
2826
2. Add the `<Gallery />` component to your card. The widget metadata will be used by the `<Gallery />` component to display the media with each associated prompt.
@@ -32,13 +30,15 @@ widget:
3230
3331
## Model description
3432
35-
TintinIA is fine-tuned version of Stable-Diffusion-xl trained on 125 comics panels from Tintin album.
33+
A very classic hand drawn cartoon style.
3634
3735
```
3836

39-
<div class="flex justify-center">
37+
<a class="flex justify-center" href="https://huggingface.co/alvdansen/littletinies#little-tinies" target="_blank">
4038
<img class="block dark:hidden" src="https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/hub/models-gallery.png"/>
4139
<img class="hidden dark:block" src="https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/hub/models-gallery-dark.png"/>
42-
</div>
40+
</a>
41+
42+
See result [here](https://huggingface.co/alvdansen/littletinies#little-tinies).
4343

4444
> Hint: Support of Card Components through the GUI editor coming soon...

0 commit comments

Comments
 (0)