-
Notifications
You must be signed in to change notification settings - Fork 344
Expand file tree
/
Copy pathrequirements.txt
More file actions
64 lines (56 loc) · 1.94 KB
/
Copy pathrequirements.txt
File metadata and controls
64 lines (56 loc) · 1.94 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
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
# ============================================================================
# CHATTERBOX TTS SERVER - REQUIREMENTS (CPU-ONLY INSTALLATION)
# ============================================================================
# This file ensures compatible PyTorch, ML, and audio processing libraries
# are installed for CPU-only operation.
# --- PyTorch CPU-Only Installation Index ---
--extra-index-url https://download.pytorch.org/whl/cpu
# --- Deep Learning Framework (CPU-Only) ---
torch==2.5.1
torchvision==0.20.1
torchaudio==2.5.1
# --- Core TTS Application ---
# IMPORTANT: chatterbox-tts is NOT included here. It must be installed
# separately with --no-deps to prevent dependency resolver conflicts
# (ONNX source builds, torch version mismatches).
#
# The start.py launcher handles this automatically.
#
# For manual installation, run these commands in order:
# pip install -r requirements.txt
# pip install --no-deps git+https://github.com/devnen/chatterbox-v2.git@master s3tokenizer==0.3.0 onnx==1.16.0
# --- Chatterbox Dependencies (explicit, since --no-deps skips them) ---
# NOTE: s3tokenizer and onnx are installed with --no-deps alongside chatterbox
# to avoid protobuf version conflicts (onnx requires protobuf>=3.20.2 but
# descript-audiotools requires protobuf<3.20).
conformer==0.3.2
diffusers==0.29.0
transformers==4.46.3
einops>=0.7.0
omegaconf==2.3.0
resampy==0.4.3
resemble-perth==1.0.1
# --- Web Framework & Server ---
fastapi>=0.100.0,<0.116.0 # starlette<1.0 needed for TemplateResponse compat
uvicorn[standard]>=0.27.0
# --- ML & Audio Libraries ---
numpy>=1.24.0
librosa>=0.10.0
safetensors>=0.4.0
descript-audio-codec==1.0.0
soundfile>=0.12.0
pydub>=0.25.0
audiotsm>=0.1.2
praat-parselmouth>=0.4.0
# --- Web & API Utilities ---
python-multipart>=0.0.5
requests>=2.28.0
Jinja2>=3.1.2,<3.2.0
aiofiles>=23.0.0
hf_transfer>=0.1.4
# --- Configuration & Data Processing ---
PyYAML>=6.0
watchdog>=3.0.0
unidecode>=1.3.0
inflect>=7.0.0
tqdm>=4.65.0