-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
44 lines (40 loc) · 1.03 KB
/
pyproject.toml
File metadata and controls
44 lines (40 loc) · 1.03 KB
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
35
36
37
38
39
40
41
42
43
44
[project]
name = "speech-api"
version = "0.1.0"
description = "Speech API for Mini PC"
readme = "README.md"
requires-python = ">=3.12"
dependencies = [
"fastapi[standard]>=0.124.0",
"pydantic>=2.12.5",
"pydantic-settings>=2.12.0",
"uvicorn[standard]>=0.38.0",
"faster-whisper>=1.1.0",
"soundfile>=0.13.1",
"python-multipart>=0.0.9",
"llama-cpp-python>=0.3.16",
# Neutts Air dependencies
"neucodec>=0.0.4",
"phonemizer>=3.3.0",
"librosa>=0.11.0",
"resemble-perth>=1.0.1",
# Torch via CPU index (Pinned to stable 2.5.1)
"torch==2.5.1",
"torchaudio==2.5.1",
"torchvision==0.20.1",
"transformers==4.56.1",
"torchao==0.12.0",
]
[project.scripts]
speech-api = "speech_api:main"
[[tool.uv.index]]
name = "pytorch-cpu"
url = "https://download.pytorch.org/whl/cpu"
explicit = true
[tool.uv.sources]
torch = { index = "pytorch-cpu" }
torchvision = { index = "pytorch-cpu" }
torchaudio = { index = "pytorch-cpu" }
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"