-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
53 lines (49 loc) · 1.5 KB
/
Copy pathpyproject.toml
File metadata and controls
53 lines (49 loc) · 1.5 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
45
46
47
48
49
50
51
52
53
[project]
name = "metanoia-tts"
version = "0.1.0"
description = "Qwen3-TTS Backend for Metanoia"
requires-python = ">=3.12, <3.13"
dependencies = [
"fastapi",
"uvicorn",
"torch",
"soundfile",
"pydantic",
"faster-whisper",
"python-multipart",
"beautifulsoup4",
"requests",
"librosa>=0.11.0",
"scipy>=1.17.1",
"numba>=0.64.0",
"pyloudnorm>=0.2.0",
"torch; sys_platform == 'darwin'",
"torch==2.5.1; sys_platform != 'darwin'",
"torchaudio==2.5.1; sys_platform != 'darwin'",
"qwen-tts; sys_platform != 'darwin'",
"transformers==4.57.3; sys_platform != 'darwin'",
"huggingface-hub>=0.25.0, <1.0; sys_platform != 'darwin'",
"mlx>=0.31.0; sys_platform == 'darwin'",
"mlx-lm>=0.30.5; sys_platform == 'darwin'",
"mlx-audio; sys_platform == 'darwin'",
"transformers==5.0.0rc3; sys_platform == 'darwin'",
"huggingface-hub>=1.5.0; sys_platform == 'darwin'",
]
[dependency-groups]
dev = [
"pytest>=8.0",
"pytest-asyncio>=0.24",
"httpx>=0.27",
"pytest-cov>=5.0",
]
[tool.uv]
managed = true
[[tool.uv.index]]
name = "pytorch-cuda"
url = "https://download.pytorch.org/whl/cu121"
explicit = true
[tool.uv.sources]
torch = { index = "pytorch-cuda", marker = "sys_platform != 'darwin'" }
torchaudio = { index = "pytorch-cuda", marker = "sys_platform != 'darwin'" }
mlx-audio = { git = "https://github.com/Blaizzy/mlx-audio.git", rev = "9349644ccbd62eb10900852228f7b952c566def3" }
qwen-tts = { git = "https://github.com/QwenLM/Qwen3-TTS.git" }