Spaces:
Running
on
Zero
Running
on
Zero
remove academic third party
Browse files- FAQ.md +1 -1
- examples/libritts/cosyvoice/path.sh +1 -1
- runtime/python/client.py +0 -1
- runtime/python/path.sh +0 -3
FAQ.md
CHANGED
@@ -2,7 +2,7 @@
|
|
2 |
|
3 |
Matcha-TTS is a third_party module. Please check `third_party` directory. If there is no `Matcha-TTS`, execute `git submodule update --init --recursive`.
|
4 |
|
5 |
-
run `export PYTHONPATH=third_party/
|
6 |
|
7 |
## cannot find resource.zip or cannot unzip resource.zip
|
8 |
|
|
|
2 |
|
3 |
Matcha-TTS is a third_party module. Please check `third_party` directory. If there is no `Matcha-TTS`, execute `git submodule update --init --recursive`.
|
4 |
|
5 |
+
run `export PYTHONPATH=third_party/Matcha-TTS` if you want to use `from cosyvoice.cli.cosyvoice import CosyVoice` in python script.
|
6 |
|
7 |
## cannot find resource.zip or cannot unzip resource.zip
|
8 |
|
examples/libritts/cosyvoice/path.sh
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
# NOTE(kan-bayashi): Use UTF-8 in Python to avoid UnicodeDecodeError when LC_ALL=C
|
2 |
export PYTHONIOENCODING=UTF-8
|
3 |
-
export PYTHONPATH=../../../:../../../third_party/
|
|
|
1 |
# NOTE(kan-bayashi): Use UTF-8 in Python to avoid UnicodeDecodeError when LC_ALL=C
|
2 |
export PYTHONIOENCODING=UTF-8
|
3 |
+
export PYTHONPATH=../../../:../../../third_party/Matcha-TTS:$PYTHONPATH
|
runtime/python/client.py
CHANGED
@@ -15,7 +15,6 @@ import os
|
|
15 |
import sys
|
16 |
ROOT_DIR = os.path.dirname(os.path.abspath(__file__))
|
17 |
sys.path.append('{}/../..'.format(ROOT_DIR))
|
18 |
-
sys.path.append('{}/../../third_party/AcademiCodec'.format(ROOT_DIR))
|
19 |
sys.path.append('{}/../../third_party/Matcha-TTS'.format(ROOT_DIR))
|
20 |
import logging
|
21 |
import argparse
|
|
|
15 |
import sys
|
16 |
ROOT_DIR = os.path.dirname(os.path.abspath(__file__))
|
17 |
sys.path.append('{}/../..'.format(ROOT_DIR))
|
|
|
18 |
sys.path.append('{}/../../third_party/Matcha-TTS'.format(ROOT_DIR))
|
19 |
import logging
|
20 |
import argparse
|
runtime/python/path.sh
DELETED
@@ -1,3 +0,0 @@
|
|
1 |
-
# NOTE(kan-bayashi): Use UTF-8 in Python to avoid UnicodeDecodeError when LC_ALL=C
|
2 |
-
export PYTHONIOENCODING=UTF-8
|
3 |
-
export PYTHONPATH=../../:../../third_party/AcademiCodec:../../third_party/Matcha-TTS:$PYTHONPATH
|
|
|
|
|
|
|
|