模型卡片组件
模型卡片组件是你可以直接注入到模型卡片 Markdown 中的特殊元素,用于在模型页面上显示强大的自定义组件。这些组件由 我们编写,欢迎在此讨论中分享关于新模型卡片组件的想法。
Gallery 组件
<Gallery /> 组件可以在模型卡片中使用,以展示你生成的图像和视频。
如何使用?
- 更新你的模型卡片小部件元数据以添加你想要展示的媒体。
widget:
- 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
- 将
<Gallery />组件添加到你的卡片中。小部件元数据将被<Gallery />组件使用,以显示每个关联提示的媒体。
<Gallery />
## 模型描述
A very classic hand drawn cartoon style.


查看结果此处。
tip
通过 GUI 编辑器支持卡片组件的功能即将推出...