DoodleBook / requirements.txt
sush0401's picture
Upgrade Space to gradio 6 so voxcpm==2.0.3 (VoxCPM2) installs; move theme/css/js/head to launch(); fix removed show_copy_button
f029f5f verified
Raw
History Blame
550 Bytes
# 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