File size: 1,380 Bytes
3cbe74d
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
013a9e4
3cbe74d
 
 
a453c72
3cbe74d
 
 
 
d41c6db
3cbe74d
 
 
 
 
 
 
 
 
 
 
 
f8c6d08
 
 
 
 
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
[project]
name = "voice_dialogue"
version = "1.0.0"
description = "一个基于AI的智能语音对话系统,支持实时语音识别、自然语言处理和语音合成"
readme = "README.md"
requires-python = ">=3.11"
dependencies = [
    "cn2an>=0.5.23",
    "einops>=0.8.1",
    "en-core-web-sm",
    "fastapi==0.115.12",
    "ffmpeg-python>=0.2.0",
    "funasr-onnx==0.4.1",
    "g2p-en>=2.1.0",
    "huggingface-hub==0.32.4",
    "jieba>=0.42.1",
    "jieba-fast>=0.53",
    "langchain==0.2.17",
    "langchain-community==0.2.17",
    "langsegment",
    "librosa==0.11.0",
    "llama-cpp-python==0.3.9",
    "loguru==0.7.3",
    "misaki[en]>=0.9.4",
    "opencc>=1.1.9",
    "playsound==1.2.2",
    "pyaudio==0.2.14",
    "pyobjc-framework-avfoundation>=11.0",
    "pypinyin>=0.54.0",
    "pytorch-lightning==2.3.1",
    "pywhispercpp",
    "silero-vad==5.1.2",
    "soundfile==0.13.1",
    "torch==2.3.1",
    "transformers==4.41.2",
    "uvicorn==0.34.3",
    "websockets>=15.0.1",
    "wordsegment>=1.3.1",
]

[tool.uv.sources]
pywhispercpp = { git = "https://github.com/absadiki/pywhispercpp" }
langsegment = { git = "https://github.com/ishine/LangSegment.git" }
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" }

[dependency-groups]
dev = [
    "pyinstaller>=6.14.1",
]