Jofthomas HF staff commited on
Commit
eacae25
1 Parent(s): 46f4710

Update coqui.py

Browse files
Files changed (1) hide show
  1. coqui.py +1 -1
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 = "/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")
 
54
  print("Downloading if not downloaded Coqui XTTS V2")
55
  from TTS.utils.manage import ModelManager
56
 
57
+ model_name = "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")