diff --git a/FAQ.md b/FAQ.md index 23e121d..53df058 100644 --- a/FAQ.md +++ b/FAQ.md @@ -2,7 +2,7 @@ Matcha-TTS is a third_party module. Please check `third_party` directory. If there is no `Matcha-TTS`, execute `git submodule update --init --recursive`. -run `export PYTHONPATH=third_party/AcademiCodec:third_party/Matcha-TTS` if you want to use `from cosyvoice.cli.cosyvoice import CosyVoice` in python script. +run `export PYTHONPATH=third_party/Matcha-TTS` if you want to use `from cosyvoice.cli.cosyvoice import CosyVoice` in python script. ## cannot find resource.zip or cannot unzip resource.zip diff --git a/examples/libritts/cosyvoice/path.sh b/examples/libritts/cosyvoice/path.sh index 513f4eb..e0fa06c 100644 --- a/examples/libritts/cosyvoice/path.sh +++ b/examples/libritts/cosyvoice/path.sh @@ -1,3 +1,3 @@ # NOTE(kan-bayashi): Use UTF-8 in Python to avoid UnicodeDecodeError when LC_ALL=C export PYTHONIOENCODING=UTF-8 -export PYTHONPATH=../../../:../../../third_party/AcademiCodec:../../../third_party/Matcha-TTS:$PYTHONPATH +export PYTHONPATH=../../../:../../../third_party/Matcha-TTS:$PYTHONPATH diff --git a/runtime/python/client.py b/runtime/python/client.py index d7d30c8..fb99bb5 100644 --- a/runtime/python/client.py +++ b/runtime/python/client.py @@ -15,7 +15,6 @@ import os import sys ROOT_DIR = os.path.dirname(os.path.abspath(__file__)) sys.path.append('{}/../..'.format(ROOT_DIR)) -sys.path.append('{}/../../third_party/AcademiCodec'.format(ROOT_DIR)) sys.path.append('{}/../../third_party/Matcha-TTS'.format(ROOT_DIR)) import logging import argparse diff --git a/runtime/python/path.sh b/runtime/python/path.sh deleted file mode 100644 index f83d12b..0000000 --- a/runtime/python/path.sh +++ /dev/null @@ -1,3 +0,0 @@ -# NOTE(kan-bayashi): Use UTF-8 in Python to avoid UnicodeDecodeError when LC_ALL=C -export PYTHONIOENCODING=UTF-8 -export PYTHONPATH=../../:../../third_party/AcademiCodec:../../third_party/Matcha-TTS:$PYTHONPATH