rrg92 commited on
Commit
62d12b0
1 Parent(s): 7c3a67d

Agree license

Browse files
Files changed (1) hide show
  1. xtts.py +2 -0
xtts.py CHANGED
@@ -13,6 +13,8 @@ from TTS.tts.models.xtts import Xtts
13
  from TTS.utils.generic_utils import get_user_data_dir
14
  from TTS.utils.manage import ModelManager
15
 
 
 
16
  torch.set_num_threads(int(os.environ.get("NUM_THREADS", os.cpu_count())))
17
  device = torch.device("cuda" if os.environ.get("USE_CPU", "0") == "0" else "cpu")
18
  if not torch.cuda.is_available() and device == "cuda":
 
13
  from TTS.utils.generic_utils import get_user_data_dir
14
  from TTS.utils.manage import ModelManager
15
 
16
+ os.environ["COQUI_TOS_AGREED"] = 1
17
+
18
  torch.set_num_threads(int(os.environ.get("NUM_THREADS", os.cpu_count())))
19
  device = torch.device("cuda" if os.environ.get("USE_CPU", "0") == "0" else "cpu")
20
  if not torch.cuda.is_available() and device == "cuda":