File size: 771 Bytes
35bb6f4 be659dc 35bb6f4 | 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 | [build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[project]
name = "neutts-fastapi-hf"
version = "0.1.0"
description = "NeuTTS TTS API for Hugging Face Spaces"
requires-python = ">=3.10,<3.14"
dependencies = [
"neutts>=1.1.0",
"fastapi>=0.115.0",
"uvicorn[standard]>=0.30.0",
"pydantic-settings>=2.0.0",
"av>=12.0.0",
"loguru>=0.7.0",
"psutil>=5.9.0",
"python-multipart>=0.0.7",
"soundfile>=0.13.0",
"websockets>=12.0",
"setuptools>=70.0.0",
]
[project.optional-dependencies]
gpu = ["neutts[all]", "onnxruntime-gpu", "torch>=2.6.0"]
cpu = ["neutts", "onnxruntime"]
dev = ["pytest>=8.0.0", "pytest-asyncio>=0.23.0", "httpx>=0.27.0", "ruff>=0.4.0"]
[tool.hatch.build.targets.wheel]
packages = ["api"]
|