hub-docs
hub-docs copied to clipboard
Truncated Python version in README.md preview (3.10 -> 3.1)
In Spaces, in the README.md preview tab, the Python version is reported as 3.1 when it is actually 3.10.
This is not a frontend bug, the backend returns this (see devtools screenshot below).
To reproduce you can check it here.
lol.
And it seems it tries to build the Space with the wrong version number, and fails.
As a workaround, it seems to work if you use a string for the version number.
Ah yes, that's a YAML-like syntax... What a nightmare 😆
(The error you have on your fork is unrelated, it's because this space requires a HF_TOKEN that allows gated models.)