littlebird13 commited on
Commit
3a987ad
1 Parent(s): 9c61515

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -7,7 +7,7 @@ sys.path.append('{}/third_party/Matcha-TTS'.format(ROOT_DIR))
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
13
  from css.advanced import advanced
 
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 /usr/local/lib/python3.10/site-packages/inflect/__init__.py')
11
 
12
  import gradio as gr
13
  from css.advanced import advanced