# Core — required for every path
huggingface_hub>=0.24
safetensors>=0.4
# CRITICAL: without a working torchaudio backend, generation runs to
# completion and then fails at the final save step (confirmed failure mode:
# "Couldn't find appropriate backend to handle uri ... and format None"
# inside upstream's generate_to_file) — wasting the whole generation.
# soundfile is the most reliable backend on Windows.
soundfile>=0.12
torchaudio
numpy
# Only needed by dramabox_nodes/training.py, which writes a training config
# YAML itself (consumed by upstream's accelerate-launched train.py) — not
# just relying on upstream to read one.
PyYAML>=6.0

# resemble-ai/DramaBox is NOT a pip-installable package (no confirmed
# `dramabox` namespace) — this pack clones it directly via `git` at
# runtime (see dramabox_nodes/upstream_compat.py:ensure_upstream_repo).
# 'git' must be available on PATH; nothing to add here for that part.
# TTSServer's own dependencies (transformers, bitsandbytes, etc.) are
# whatever upstream's own repo requirements specify — install upstream's
# requirements.txt from the cloned repo
# (ComfyUI/models/dramabox/upstream_src/requirements.txt) if TTSServer
# itself reports missing packages at construction time. LoRA training
# (dramabox_nodes/training.py) shells out to that same cloned repo's
# src/preprocess.py and src/train.py, so it needs that same upstream
# requirements.txt installed too — specifically accelerate>=0.25.0 and
# peft>=0.7.0, confirmed present there.

resemble-perth
