hf_text-generation-inference/nix/client.nix

26 lines
322 B
Nix

{
buildPythonPackage,
poetry-core,
huggingface-hub,
pydantic,
}:
buildPythonPackage {
name = "text-generation";
src = ../clients/python;
pyproject = true;
build-system = [ poetry-core ];
nativeBuildInputs = [ ];
pythonRemoveDeps = [ ];
dependencies = [
huggingface-hub
pydantic
];
}