littlebird13 commited on
Commit
9c61515
1 Parent(s): 65181e1

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -6,7 +6,7 @@ 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/ && ttsfrd-0.3.9-cp310-cp310-linux_x86_64.whl')
10
  os.system('sed -i s@pydantic.typing@typing_extensions@g /opt/conda/lib/python3.10/site-packages/inflect/__init__.py')
11
 
12
  import gradio as gr
 
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 s@pydantic.typing@typing_extensions@g /opt/conda/lib/python3.10/site-packages/inflect/__init__.py')
11
 
12
  import gradio as gr