Skip to content

Commit

Permalink
updated
Browse files Browse the repository at this point in the history
  • Loading branch information
JinZr committed Nov 4, 2024
1 parent f247132 commit 53ec156
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 8 deletions.
2 changes: 1 addition & 1 deletion egs/ljspeech/TTS/matcha/monotonic_align/setup.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copied from
# Modified from
# https://github.com/shivammehta25/Matcha-TTS/blob/main/matcha/utils/monotonic_align/setup.py
from Cython.Build import cythonize
from setuptools import Extension, setup
Expand Down
16 changes: 9 additions & 7 deletions egs/ljspeech/TTS/prepare.sh
Original file line number Diff line number Diff line change
Expand Up @@ -26,13 +26,15 @@ log "dl_dir: $dl_dir"

if [ $stage -le -1 ] && [ $stop_stage -ge -1 ]; then
log "Stage -1: build monotonic_align lib (used by vits and matcha recipes)"
if [ ! -d vits/monotonic_align/build ]; then
cd vits/monotonic_align
python3 setup.py build_ext --inplace
cd ../../
else
log "monotonic_align lib for vits already built"
fi
for recipe in vits matcha; do
if [ ! -d $recipe/monotonic_align/build ]; then
cd $recipe/monotonic_align
python3 setup.py build_ext --inplace
cd ../../
else
log "monotonic_align lib for $recipe already built"
fi
done
fi

if [ $stage -le 0 ] && [ $stop_stage -ge 0 ]; then
Expand Down

0 comments on commit 53ec156

Please sign in to comment.