infer.py could only render a random example from examples/input_params: there was no way to pass your own prompt, lyrics, duration or seed, so using it for anything specific meant writing a separate script. Add --prompt, --lyrics/--lyrics_file, --duration, --steps, --guidance_scale, --scheduler, --cfg_type, --omega_scale, --seed and --format alongside the existing runtime flags. Without --prompt the old random-example behaviour is kept, so existing invocations are unaffected. Also move the training-only packages out of the default install. datasets, pytorch_lightning, matplotlib, tensorboard and tensorboardX are imported by trainer.py and convert2hf_dataset.py, never on the inference path, but every user was installing them — and datasets==3.4.1 is a hard pin that drags constraints onto huggingface-hub. They now live in requirements-train.txt behind the existing (previously ineffective) "train" extra: pip install -e ".[train]". Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
22 lines
286 B
Plaintext
22 lines
286 B
Plaintext
diffusers>=0.33.0
|
|
gradio>=6.0.0
|
|
librosa==0.11.0
|
|
loguru==0.7.3
|
|
numpy
|
|
pypinyin==0.53.0
|
|
soundfile==0.13.1
|
|
torch
|
|
torchaudio
|
|
torchvision
|
|
tqdm
|
|
transformers>=4.57.0
|
|
py3langid==0.3.0
|
|
hangul-romanize==0.1.0
|
|
num2words==0.5.14
|
|
spacy==3.8.4
|
|
accelerate==1.6.0
|
|
cutlet
|
|
fugashi[unidic-lite]
|
|
click
|
|
peft
|