File size: 567 Bytes
297b585
 
f029f5f
297b585
 
 
 
 
 
 
 
 
 
 
 
 
5648373
 
 
 
297b585
 
 
 
 
 
 
 
56412a3
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
# DoodleBook — Dependencies (ZeroGPU Version)
# Core
gradio>=6,<7
python-dotenv
spaces

# Image generation
diffusers>=0.28
transformers>=4.40
accelerate
torch
pillow
sentencepiece
opencv-python-headless
numpy

# Voice narration (VoxCPM2). MUST be pinned: unpinned, pip resolved to voxcpm
# 1.5.0 whose generate()/sample-rate API differs → 4 min of garbled audio.
# 2.0.3 is the version the local Modal worker uses and is known-good.
voxcpm==2.0.3

# Book building
fpdf2

# Utilities
requests
huggingface_hub
soundfile
librosa>=0.10.0