Uses env variable to determine which type of ASR to use (streaming or full chunks). ref: N25B-467
78 lines
1.3 KiB
TOML
78 lines
1.3 KiB
TOML
[project]
|
|
name = "pepperplus-cb"
|
|
version = "0.1.0"
|
|
description = "Add your description here"
|
|
readme = "README.md"
|
|
requires-python = ">=3.13,<3.14"
|
|
dependencies = [
|
|
"agentspeak",
|
|
"colorlog",
|
|
"fastapi[all]",
|
|
"mlx-whisper ; sys_platform == 'darwin'",
|
|
"numpy",
|
|
"openai-whisper",
|
|
"pyaudio",
|
|
"pydantic",
|
|
"pydantic-settings",
|
|
"python-json-logger",
|
|
"python-slugify",
|
|
"pyyaml",
|
|
"pyzmq",
|
|
"qwen-asr[vllm]",
|
|
"silero-vad",
|
|
"sphinx",
|
|
"sphinx-rtd-theme",
|
|
"torch",
|
|
"uvicorn",
|
|
]
|
|
|
|
[dependency-groups]
|
|
dev = [
|
|
"pre-commit",
|
|
"pytest",
|
|
"pytest-asyncio",
|
|
"pytest-cov",
|
|
"pytest-mock",
|
|
"soundfile",
|
|
"ruff",
|
|
"ruff-format",
|
|
]
|
|
test = [
|
|
"agentspeak",
|
|
"fastapi",
|
|
"httpx",
|
|
"mlx-whisper ; sys_platform == 'darwin'",
|
|
"openai-whisper",
|
|
"pydantic",
|
|
"pydantic-settings",
|
|
"pytest",
|
|
"pytest-asyncio",
|
|
"pytest-cov",
|
|
"pytest-mock",
|
|
"python-slugify",
|
|
"pyyaml",
|
|
"pyzmq",
|
|
"soundfile",
|
|
]
|
|
|
|
[tool.pytest.ini_options]
|
|
pythonpath = ["src"]
|
|
|
|
[tool.ruff]
|
|
line-length = 100
|
|
|
|
[tool.ruff.lint]
|
|
extend-select = [
|
|
"E", # pycodestyle
|
|
"F", # pyflakes
|
|
"I", # isort (import sorting)
|
|
"UP", # pyupgrade (modernize code)
|
|
"B", # flake8-bugbear (common bugs)
|
|
"C4", # flake8-comprehensions (unnecessary comprehensions)
|
|
]
|
|
|
|
ignore = [
|
|
"E226", # spaces around operators
|
|
"E701", # multiple statements on a single line
|
|
]
|