Files
park-desktop/backend/pyproject.toml
T
Pine b681eac2df feat: 大屏后端(FastAPI+MQTT+sim_engine)
- REST :10085 / MQTT 控制 / SSE 回退 / AI+语音
- 数据源规划:接核心服务端 + 算力引擎真实数据
2026-08-23 22:35:05 +08:00

35 lines
1.2 KiB
TOML
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
[project]
name = "backend"
version = "0.1.0"
description = "Add your description here"
readme = "README.md"
requires-python = ">=3.12"
dependencies = [
"certifi>=2024.2",
"fastapi>=0.110",
"paho-mqtt>=1.6,<2",
"python-multipart>=0.0.9",
"uvicorn[standard]>=0.29",
"dashscope>=1.26",
"jinja2>=3.1",
# ---- s2s 实时语音栈(VAD本地 + 云ASR/LLM/TTS)----
# speech-to-speech 本体以 --no-deps 安装(路径依赖见下方 [tool.uv.sources]),
# 这里只声明其运行所需的最小依赖,避免 base 依赖把 mlx/transformers 等拖进来。
"httpx>=0.28",
"nltk==3.9.4",
"numpy>=1.26",
"openai==2.28.0",
"scipy>=1.10",
"soundfile>=0.13",
"torch>=2.4",
"transformers>=4.40",
"websockets>=12",
"ultralytics>=8.4.121",
]
[tool.uv.sources]
# 补丁后的 s2s 云化栈,已 vendor 进项目(backend/vendor/s2s-cloud),相对路径,无跨项目依赖
# 说明:speech-to-speech 以 `uv pip install --no-deps --no-build-isolation -e vendor/s2s-cloud`
# 手动安装(避免其 base 依赖把 mlx/transformers 等拖入);此处仅作路径声明。
speech-to-speech = { path = "vendor/s2s-cloud" }