Spaces:
Sleeping
Sleeping
1 response in libreary permissions
Browse files
app.py
CHANGED
@@ -10,7 +10,7 @@ import torch
|
|
10 |
locale.getpreferredencoding = lambda: "UTF-8"
|
11 |
device = "cuda" if torch.cuda.is_available() else "cpu"
|
12 |
|
13 |
-
os.environ["
|
14 |
tts = TTS("tts_models/multilingual/multi-dataset/xtts_v2").to(device)
|
15 |
tts = TTS("xtts_v2.0.2")
|
16 |
|
|
|
10 |
locale.getpreferredencoding = lambda: "UTF-8"
|
11 |
device = "cuda" if torch.cuda.is_available() else "cpu"
|
12 |
|
13 |
+
os.environ["COQUI_TOS_AGREED"] = "1"
|
14 |
tts = TTS("tts_models/multilingual/multi-dataset/xtts_v2").to(device)
|
15 |
tts = TTS("xtts_v2.0.2")
|
16 |
|