File size: 715 Bytes
66ab0dd | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 | [build-system]
requires = ["hatchling>=1.28,<2"]
build-backend = "hatchling.build"
[project]
name = "canter"
version = "0.1.0"
description = "Lean inference package for the Canter text-to-image flow model"
readme = "README.md"
requires-python = ">=3.10,<3.14"
license = { file = "LICENSE" }
dependencies = [
"gradio>=6.20,<6.21",
"huggingface-hub>=1.15,<2",
"numpy>=2,<3",
"pillow>=12,<13",
"safetensors>=0.7,<0.8",
"scipy>=1.17,<2",
"torch>=2.12,<2.13",
"transformers>=5.12,<5.13",
]
[project.scripts]
canter-web = "canter.webui:main"
[project.optional-dependencies]
test = [
"pytest>=9,<10",
"ruff>=0.14,<0.15",
]
[tool.hatch.build.targets.wheel]
packages = ["canter"]
|