-
Notifications
You must be signed in to change notification settings - Fork 135
Expand file tree
/
Copy pathpyproject.toml
More file actions
70 lines (66 loc) · 1.82 KB
/
pyproject.toml
File metadata and controls
70 lines (66 loc) · 1.82 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
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
[project]
name = "chatterbox-tts-api"
version = "2.1.0"
description = "REST API for Chatterbox TTS with OpenAI compatibility"
authors = [{ name = "Travis Van Nimwegen", email = "tts@travis2.com" }]
readme = "README.md"
license = { text = "AGPLv3" }
requires-python = ">=3.11, <3.12"
dependencies = [
# "chatterbox-tts @ git+https://github.com/resemble-ai/chatterbox.git",
"chatterbox-tts @ git+https://github.com/travisvn/chatterbox-multilingual.git@exp",
"resemble-perth",
"torch>=2.0.0,<2.7.0",
"torchaudio>=2.0.0,<2.7.0",
"fastapi>=0.104.0",
"uvicorn[standard]>=0.24.0",
"pydantic>=2.0.0",
"python-multipart>=0.0.6",
"python-dotenv>=1.0.0",
"psutil>=5.9.0",
"requests>=2.28.0",
"sse-starlette>=3.0.2",
"pydub>=0.25.1",
]
[project.urls]
Homepage = "https://github.com/travisvn/chatterbox-tts-api"
Repository = "https://github.com/travisvn/chatterbox-tts-api"
[project.optional-dependencies]
dev = [
"requests>=2.28.0", # for testing
]
test = [
"pytest>=7.0.0",
"pytest-asyncio>=0.21.0",
"pytest-cov>=4.0.0",
"pytest-html>=3.0.0",
"pytest-xdist>=3.0.0",
"requests>=2.28.0",
"httpx>=0.24.0",
]
[tool.uv]
dev-dependencies = ["requests>=2.28.0"]
[tool.pytest.ini_options]
minversion = "7.0"
addopts = [
"-ra",
"--strict-markers",
"--strict-config",
"--cov=app",
"--cov-report=term-missing",
"--cov-report=html",
"--cov-report=xml",
]
testpaths = ["tests"]
python_files = ["test_*.py", "*_test.py"]
python_classes = ["Test*"]
python_functions = ["test_*"]
markers = [
"slow: marks tests as slow (deselect with '-m \"not slow\"')",
"integration: marks tests as integration tests",
"unit: marks tests as unit tests",
"api: marks tests as API tests",
"memory: marks tests as memory management tests",
"voice: marks tests as voice-related tests",
"regression: marks tests as regression tests",
]