mirror of
https://github.com/elder-plinius/OBLITERATUS.git
synced 2026-12-06 11:04:06 +01:00
26 lines
1.5 KiB
Markdown
26 lines
1.5 KiB
Markdown
# Hugging Face Space metadata
|
|
|
|
The canonical Space card values live in `space-metadata.yml`. They belong in
|
|
the YAML front matter at the top of the Hugging Face Space repository's root
|
|
`README.md`.
|
|
|
|
The GitHub repository README deliberately excludes that front matter because
|
|
GitHub renders it as a metadata table above the project introduction. When
|
|
publishing a Space, wrap `space-metadata.yml` in `---` delimiters and prepend it
|
|
to the README copied into the Space repository.
|
|
|
|
Use Python 3.11 and the stable Gradio 6.31 SDK metadata. Copy this directory's
|
|
`requirements.txt` to the Space root alongside the full project source. Its
|
|
`.[spaces]` requirement installs the reviewed backport by immutable URL and
|
|
SHA256, including Pillow 13. Do not use the core-only root requirements file
|
|
as the complete UI bootstrap, and do not replace the backport with stock Gradio.
|
|
|
|
Hugging Face documents [SDK version selection](https://huggingface.co/docs/hub/spaces-sdks-gradio)
|
|
and [root requirements installation](https://huggingface.co/docs/hub/spaces-dependencies).
|
|
The SDK field alone does not encode this downstream artifact. Before accepting
|
|
a hosted deployment, verify `importlib.metadata.version("gradio")` equals
|
|
`6.31.0+obliteratus.1` and `importlib.metadata.version("pillow")` starts with `13.`.
|
|
The unchanged frontend `gradio.__version__` remains `6.31.0` and is not an
|
|
artifact-identity check. Local install tests do not qualify the hosted builder,
|
|
ZeroGPU allocation or the deployed service. No Space is published by this review.
|