ylacombe HF staff commited on
Commit
697ad65
1 Parent(s): fcb9ec6

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -0
app.py CHANGED
@@ -9,6 +9,9 @@ import nltk # we'll use this to split into sentences
9
  import uuid
10
 
11
  from TTS.api import TTS
 
 
 
12
  tts = TTS("tts_models/multilingual/multi-dataset/xtts_v1", gpu=True)
13
 
14
  DESCRIPTION = """# Speak with Llama2
 
9
  import uuid
10
 
11
  from TTS.api import TTS
12
+ # By using XTTS you agree to CPML license https://coqui.ai/cpml
13
+ os.environ["COQUI_TOS_AGREED"] = "1"
14
+
15
  tts = TTS("tts_models/multilingual/multi-dataset/xtts_v1", gpu=True)
16
 
17
  DESCRIPTION = """# Speak with Llama2