Add Swift API for Kokoro TTS models (#1721)

This commit is contained in:
Fangjun Kuang
2025-01-16 16:47:37 +08:00
committed by GitHub
parent cc812e6237
commit ad61ad6ff5
8 changed files with 134 additions and 7 deletions

View File

@@ -15,7 +15,7 @@ if [ ! -d ./vits-piper-en_US-amy-low ]; then
rm vits-piper-en_US-amy-low.tar.bz2
fi
if [ ! -e ./tts ]; then
if [ ! -e ./tts-vits ]; then
# Note: We use -lc++ to link against libc++ instead of libstdc++
swiftc \
-lc++ \