mirror of
https://github.com/huggingface/text-generation-inference.git
synced 2025-04-21 14:52:20 +00:00
26 lines
322 B
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
|
|
];
|
|
}
|