Broken Space After Debian13 Update And llama-cpp-python Update

1 / 2

You can specify Python versions and the additional packages to install. However, everything else must be done manually… Also, the OS is fixed in Gradio spaces.

import sys, platform
from importlib import metadata as md

print("Python:", platform.python_version(), sys.implementation.name)
print("OS:", platform.uname())
print("\n".join(sorted(f"{d.metadata['Name']}=={d.version}" for d in md.distributions())))

3

Installing the latest CPU build of llama_cpp_python in HF Spaces doesn’t work properly with requirements.txt for now…

1 Like