liumaolin commited on
Commit
3cbe74d
·
1 Parent(s): be3d38f

Add `pyproject.toml` and `uv.lock` files to define project metadata and dependencies.

Browse files
Files changed (3) hide show
  1. .python-version +1 -0
  2. pyproject.toml +42 -0
  3. uv.lock +0 -0
.python-version ADDED
@@ -0,0 +1 @@
 
 
1
+ 3.11
pyproject.toml ADDED
@@ -0,0 +1,42 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ [project]
2
+ name = "voice_dialogue"
3
+ version = "1.0.0"
4
+ description = "一个基于AI的智能语音对话系统,支持实时语音识别、自然语言处理和语音合成"
5
+ readme = "README.md"
6
+ requires-python = ">=3.11"
7
+ dependencies = [
8
+ "cn2an>=0.5.23",
9
+ "einops>=0.8.1",
10
+ "en-core-web-sm",
11
+ "fastapi==0.115.12",
12
+ "ffmpeg-python>=0.2.0",
13
+ "funasr-onnx==0.4.1",
14
+ "g2p-en>=2.1.0",
15
+ "huggingface-hub==0.32.4",
16
+ "jieba>=0.42.1",
17
+ "jieba-fast>=0.53",
18
+ "langchain==0.2.17",
19
+ "langchain-community==0.2.17",
20
+ "langsegment",
21
+ "librosa==0.11.0",
22
+ "llama-cpp-python==0.3.9",
23
+ "matplotlib>=3.10.3",
24
+ "misaki[en]>=0.9.4",
25
+ "opencc>=1.1.9",
26
+ "playsound==1.2.2",
27
+ "pyobjc-framework-avfoundation>=11.0",
28
+ "pypinyin>=0.54.0",
29
+ "pytorch-lightning==2.3.1",
30
+ "pywhispercpp",
31
+ "soundfile==0.13.1",
32
+ "torch==2.3.1",
33
+ "transformers==4.41.2",
34
+ "uvicorn==0.34.3",
35
+ "websockets>=15.0.1",
36
+ "wordsegment>=1.3.1",
37
+ ]
38
+
39
+ [tool.uv.sources]
40
+ pywhispercpp = { git = "https://github.com/absadiki/pywhispercpp" }
41
+ langsegment = { git = "https://github.com/ishine/LangSegment.git" }
42
+ en-core-web-sm = { url = "https://github.com/explosion/spacy-models/releases/download/en_core_web_sm-3.8.0/en_core_web_sm-3.8.0-py3-none-any.whl" }
uv.lock ADDED
The diff for this file is too large to render. See raw diff