Hub documentation

Spaces 设置

Hugging Face's logo
Join the Hugging Face community

and get access to the augmented documentation experience

to get started

Spaces 设置

您可以在仓库根目录的 README.md 文件顶部的 YAML 块中配置 Space 的外观和其他设置。例如,如果您想创建一个名为 Demo Space 的 Gradio Space,并使用从黄色到橙色的渐变缩略图:

---
title: Demo Space
emoji: 🤗
colorFrom: yellow
colorTo: orange
sdk: gradio
app_file: app.py
pinned: false
---

有关其他设置,请参阅参考部分。

Update on GitHub