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