Spaces:
Runtime error
Runtime error
Update app.py
Browse files
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"
|