sush0401 commited on
Commit
5648373
·
verified ·
1 Parent(s): 297b585

Pin voxcpm==2.0.3 (unpinned resolved to 1.5.0 -> 4min garbled audio)

Browse files
Files changed (1) hide show
  1. requirements.txt +4 -2
requirements.txt CHANGED
@@ -14,8 +14,10 @@ sentencepiece
14
  opencv-python-headless
15
  numpy
16
 
17
- # Voice narration (VoxCPM2) was MISSING, so TTS always hit the silent fallback
18
- voxcpm
 
 
19
 
20
  # Book building
21
  fpdf2
 
14
  opencv-python-headless
15
  numpy
16
 
17
+ # Voice narration (VoxCPM2). MUST be pinned: unpinned, pip resolved to voxcpm
18
+ # 1.5.0 whose generate()/sample-rate API differs → 4 min of garbled audio.
19
+ # 2.0.3 is the version the local Modal worker uses and is known-good.
20
+ voxcpm==2.0.3
21
 
22
  # Book building
23
  fpdf2