Update coqui.py
Browse files
coqui.py
CHANGED
@@ -54,7 +54,7 @@ repo_id = "coqui/xtts"
|
|
54 |
print("Downloading if not downloaded Coqui XTTS V2")
|
55 |
from TTS.utils.manage import ModelManager
|
56 |
|
57 |
-
model_name = "tts_models
|
58 |
ModelManager().download_model(model_name)
|
59 |
model_path = os.path.join(get_user_data_dir("tts"), model_name.replace("/", "--"))
|
60 |
print("XTTS downloaded")
|
|
|
54 |
print("Downloading if not downloaded Coqui XTTS V2")
|
55 |
from TTS.utils.manage import ModelManager
|
56 |
|
57 |
+
model_name = "/home/user/.local/share/tts/tts_models--multilingual--multi-dataset--xtts_v2"
|
58 |
ModelManager().download_model(model_name)
|
59 |
model_path = os.path.join(get_user_data_dir("tts"), model_name.replace("/", "--"))
|
60 |
print("XTTS downloaded")
|