mirror of
https://github.com/zenlm/mu.git
synced 2026-10-30 14:59:27 +00:00
17 lines
464 B
Bash
Executable File
17 lines
464 B
Bash
Executable File
cd "$(dirname "$0")"
|
|
cd ../
|
|
|
|
export PYTHONPATH=$PYTHONPATH:$PWD
|
|
export CUDA_VISIBLE_DEVICES=0
|
|
|
|
if [[ "$OSTYPE" =~ ^darwin ]]; then
|
|
export PHONEMIZER_ESPEAK_LIBRARY=/opt/homebrew/Cellar/espeak-ng/1.52.0/lib/libespeak-ng.dylib
|
|
fi
|
|
|
|
python3 infer/infer.py \
|
|
--lrc-path infer/example/eg_en.lrc \
|
|
--ref-audio-path infer/example/eg_en.mp3 \
|
|
--audio-length 95 \
|
|
--repo-id ASLP-lab/DiffRhythm-1_2 \
|
|
--output-dir infer/example/output \
|
|
--chunked |