-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathrequirements.txt
More file actions
42 lines (35 loc) · 1.72 KB
/
Copy pathrequirements.txt
File metadata and controls
42 lines (35 loc) · 1.72 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
# ============================================================
# VoiceAPI — Local Requirements
# Install with: pip install -r requirements.txt
# ============================================================
# ── Core PyTorch (CPU build; swap for CUDA wheel if needed) ─
torch
torchaudio
# ── Audio I/O & Processing ──────────────────────────────────
numpy
scipy
soundfile
librosa # pitch shift + time-stretch (StyleProcessor)
# ── TTS Models ──────────────────────────────────────────────
# Coqui TTS — required for:
# • Bhojpuri .pth checkpoints (TTS.utils.synthesizer.Synthesizer)
# • XTTS v2 voice cloning (TTS.api.TTS)
TTS
# HuggingFace ecosystem — required for:
# • Downloading SYSPIN model snapshots from HF Hub
# • Facebook MMS Gujarati model (transformers VitsModel)
huggingface-hub
transformers
accelerate # optional but recommended for faster HF model loading
# ── API Server ───────────────────────────────────────────────
fastapi>=0.100.0
uvicorn[standard]
python-multipart # multipart/form-data file uploads
pydantic>=2.0
# ── Utilities ────────────────────────────────────────────────
tqdm
requests
httpx # async HTTP (used in tests / health checks)
# ── Development / Testing ────────────────────────────────────
pytest
pytest-asyncio