Spaces:
Runtime error
Runtime error
littlebird13
commited on
Commit
•
49278e3
1
Parent(s):
ac42ea7
Update app.py
Browse files
app.py
CHANGED
@@ -6,6 +6,8 @@ sys.path.append('{}/third_party/Matcha-TTS'.format(ROOT_DIR))
|
|
6 |
|
7 |
from modelscope import snapshot_download
|
8 |
snapshot_download('speech_tts/speech_kantts_ttsfrd',revision="master", allow_file_pattern='ttsfrd-0.3.9-cp310-cp310-linux_x86_64.whl', local_dir='pretrained_models/speech_kantts_ttsfrd')
|
|
|
|
|
9 |
os.system('cd pretrained_models/speech_kantts_ttsfrd/ && pip install ttsfrd-0.3.9-cp310-cp310-linux_x86_64.whl')
|
10 |
os.system('sed -i [email protected]@typing_extensions@g /usr/local/lib/python3.10/site-packages/inflect/__init__.py')
|
11 |
|
|
|
6 |
|
7 |
from modelscope import snapshot_download
|
8 |
snapshot_download('speech_tts/speech_kantts_ttsfrd',revision="master", allow_file_pattern='ttsfrd-0.3.9-cp310-cp310-linux_x86_64.whl', local_dir='pretrained_models/speech_kantts_ttsfrd')
|
9 |
+
snapshot_download('speech_tts/speech_kantts_ttsfrd',revision="master", allow_file_pattern='ttsfrd_dependency-0.1-py3-none-any.whl', local_dir='pretrained_models/speech_kantts_ttsfrd')
|
10 |
+
os.system('cd pretrained_models/speech_kantts_ttsfrd/ && pip install ttsfrd_dependency-0.1-py3-none-any.whl')
|
11 |
os.system('cd pretrained_models/speech_kantts_ttsfrd/ && pip install ttsfrd-0.3.9-cp310-cp310-linux_x86_64.whl')
|
12 |
os.system('sed -i [email protected]@typing_extensions@g /usr/local/lib/python3.10/site-packages/inflect/__init__.py')
|
13 |
|