-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathrequirements.txt
More file actions
46 lines (38 loc) · 1.17 KB
/
Copy pathrequirements.txt
File metadata and controls
46 lines (38 loc) · 1.17 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
# 核心依赖
pyyaml>=6.0
numpy>=1.24.0
torch>=2.0.0
torchaudio>=2.0.0
# FunASR相关
funasr>=1.0.0
modelscope>=1.9.0
addict>=2.4.0 # ModelScope依赖
# LLM API调用
openai>=1.0.0 # DeepSeek和Qwen都兼容OpenAI接口
requests>=2.31.0
# TTS相关 - IndexTTS2依赖
scipy>=1.10.0
librosa>=0.10.0
soundfile>=0.12.0
huggingface-hub>=0.19.0 # 用于下载IndexTTS2官方模型
transformers==4.52.1 # IndexTTS2核心依赖(必须精确版本)
omegaconf>=2.3.0 # IndexTTS2配置文件解析
safetensors>=0.3.0 # IndexTTS2模型加载
sentencepiece>=0.2.1 # IndexTTS2文本处理
einops>=0.8.1 # IndexTTS2张量操作
accelerate>=1.0.0 # IndexTTS2加速库
descript-audiotools>=0.7.0 # IndexTTS2 DAC音频编码依赖
WeTextProcessing>=1.0.0 # IndexTTS2 文本规范化(Linux)
# wetext>=0.0.9 # IndexTTS2 文本规范化(Windows/Mac,可选)
# 音频处理
# pyaudio>=0.2.13 # 可选:仅在需要实时录音时使用,需要系统安装 portaudio 库
webrtcvad>=2.0.10 # VAD语音活动检测
# 工具库
tqdm>=4.65.0
loguru>=0.7.0
# 可选:GPU加速
# onnxruntime-gpu>=1.15.0 # 如果使用ONNX推理
# 开发工具
pytest>=7.4.0
black>=23.0.0
flake8>=6.0.0