Browse Source

remove academic third party

lyuxiang.lx 1 year ago
parent
commit
4e43a9d98b
4 changed files with 2 additions and 6 deletions
  1. 1 1
      FAQ.md
  2. 1 1
      examples/libritts/cosyvoice/path.sh
  3. 0 1
      runtime/python/client.py
  4. 0 3
      runtime/python/path.sh

+ 1 - 1
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
 

+ 1 - 1
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

+ 0 - 1
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

+ 0 - 3
runtime/python/path.sh

@@ -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