Spaces:
Runtime error
Runtime error
Download relik/version.py from riccorl/relik-entity-linking: direct link, hf CLI and curl.
- Browser
- Download file 458 Bytes
-
https://huggingface.co/spaces/riccorl/relik-entity-linking/resolve/main/relik/version.py
- Command line
-
hf download hf://spaces/riccorl/relik-entity-linking/relik/version.py
-
curl -L -o version.py https://huggingface.co/spaces/riccorl/relik-entity-linking/resolve/main/relik/version.py
458 Bytes
| import os | |
| _MAJOR = "0" | |
| _MINOR = "1" | |
| # On main and in a nightly release the patch should be one ahead of the last | |
| # released build. | |
| _PATCH = "0" | |
| # This is mainly for nightly builds which have the suffix ".dev$DATE". See | |
| # https://semver.org/#is-v123-a-semantic-version for the semantics. | |
| _SUFFIX = os.environ.get("RELIK_VERSION_SUFFIX", "") | |
| VERSION_SHORT = "{0}.{1}".format(_MAJOR, _MINOR) | |
| VERSION = "{0}.{1}.{2}{3}".format(_MAJOR, _MINOR, _PATCH, _SUFFIX) | |