littlebird13 commited on
Commit
1786359
1 Parent(s): 12bfd03

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -5,8 +5,8 @@ sys.path.append('{}/third_party/AcademiCodec'.format(ROOT_DIR))
5
  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='v1.0.3', allow_file_pattern='ttsfrd-0.3.6-cp38-cp38-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.6-cp38-cp38-linux_x86_64.whl')
10
  os.system('sed -i s@pydantic.typing@typing_extensions@g /opt/conda/lib/python3.8/site-packages/inflect/__init__.py')
11
 
12
  import gradio as gr
 
5
  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', 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.8/site-packages/inflect/__init__.py')
11
 
12
  import gradio as gr