AngeT10 commited on
Commit
fa8f0f6
1 Parent(s): 9d42120

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -0
app.py CHANGED
@@ -6,6 +6,10 @@ import zipfile
6
  from TTS.api import TTS
7
  from pydub import AudioSegment
8
 
 
 
 
 
9
  os.environ["COQUI_TOS_AGREED"] = "1"
10
 
11
  MODEL_PATH = "tts_models/multilingual/multi-dataset/xtts_v2"
 
6
  from TTS.api import TTS
7
  from pydub import AudioSegment
8
 
9
+ #download for mecab
10
+ os.system('python -m unidic download')
11
+
12
+
13
  os.environ["COQUI_TOS_AGREED"] = "1"
14
 
15
  MODEL_PATH = "tts_models/multilingual/multi-dataset/xtts_v2"