Hub 文件

模型卡元件

Hugging Face's logo
加入 Hugging Face 社群

並獲得增強的文件體驗

開始使用

模型卡元件

模型卡元件是您可以直接注入模型卡 Markdown 中的特殊元素,以在您的模型頁面中顯示強大的自定義元件。這些元件由我們編寫,歡迎在此討論中分享關於新模型卡元件的想法。

畫廊元件

<Gallery /> 元件可以在您的模型卡中使用,以展示您生成的影像和影片。

如何使用?

  1. 更新您的模型卡小元件元資料,以新增您要展示的媒體。
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
  1. <Gallery /> 元件新增到您的卡片中。小元件元資料將被 <Gallery /> 元件用來顯示媒體及其關聯的提示。

<Gallery />

## Model description

A very classic hand drawn cartoon style.

在此處檢視結果:這裡

提示:即將支援透過 GUI 編輯器使用卡片元件…

< > 在 GitHub 上更新

© . This site is unofficial and not affiliated with Hugging Face, Inc.