huggingface-spaces
在 Hugging Face Spaces 上构建、部署和维护应用——Gradio / Docker / 静态 SDK、ZeroGPU 和专用硬件、模型加载、调试、存储桶、推理提供方、社区资助。当用户要求在 Hugging Face 上创建或托管应用、将代码移植到 ZeroGPU、修复无法构建或运行的 Space,或以其他方式使用 `hf spaces …`、`@spaces.GPU`、Space README 前置元数据或 `spaces` Python 包时使用。
机器翻译查看英文原文
Build, deploy, and maintain applications on Hugging Face Spaces — Gradio / Docker / Static SDKs, ZeroGPU and dedicated hardware, model loading, debugging, buckets, inference providers, community grants. Use whenever the user asks to create or host an app on Hugging Face, port code onto ZeroGPU, fix a Space that won't build or run, or otherwise work with `hf spaces …`, `@spaces.GPU`, Space README frontmatter, or the `spaces` Python package.
适用对象:云服务、运维与安全。自动收录 · 待核查。
原作者说明节选
从固定版本的 SKILL.md 提取,保留原文语言。以下内容属于作者说明,本站尚未验证安装、兼容或运行结果。
查看英文原文
原文涵盖的主题
- Hugging Face Spaces
- 0. Getting ready
- 1. What a Space is
- Hardware tiers
- 2. Look for an existing demo first
- 3. Decide SDK and hardware
- Sourcing the model
- 4. Create the Space
Hugging Face Spaces host machine-learning applications. There are 1M+ today; each Space is a git repo. This skill covers creating, building, debugging, and maintaining them. Before anything else: 1. Check the hf CLI is installed: which hf. If not, pip install -U huggingfacehub. 2. Check the user is logged in: hf auth whoami. If not, run hf auth login — it prints a URL and a one-time code; ask the user to open the URL and enter the code, then login completes automatically (OAuth, no token needed). Alternatively, pass a write-scoped token from https://huggingface.co/settings/tokens with --token. 3. Note whoami's canPay and isPro flags — they gate hardware choices below. A free (isPro=False) account can only host Static Spaces and up to 2 ZeroGPU Spaces. The hf-cli skill teaches an agent every hf command and is the recommended companion to this one. Install it with hf skills add hf-cli (add --claude --global to install for Claude Code as well, user-level). A Space is a git repo with three possible SDKs: Gradio — most Spaces. Python, fast iteration, supports ZeroGPU. Docker — arbitrary container. Use when you need a non-Python stack or a pre-built template (Streamlit, Argilla, Shiny, e
这里只展示节选,请以完整原文和当前要求为准。
- 来源仓库
- huggingface/skills
- 源文件
- skills/huggingface-spaces/SKILL.md
- 固定版本
- 25910b3d0ba31a2ba102f901cdc9e008c278a69c
来源与内容状态
本条为自动发现的元数据,尚未完成人工文档核查;适用性与运行结果待核查。
原作者:huggingface/skills · 原作者仓库元数据。文档核查:未核查。最近来源检查:2026-11-09T16:01:02.743Z。
分类由名称、说明与路径规则生成,分类不代表已核实适配。
许可与权利归属
Apache-2.0。第三方内容及版权归原作者,使用条件以原文为准。
许可原文 ↗本站没有因同步、复制或用户自报成功而将资源标为运行验证通过。
限制与注意事项
- 元数据收录不代表本站已经安装、适配、实测或进行安全审查。