Spaces:
Build error
Build error
Aseem Gupta
commited on
Commit
·
9581ca3
1
Parent(s):
4a20039
test4
Browse files- app.py +3 -0
- config.json +0 -5
app.py
CHANGED
@@ -1,5 +1,8 @@
|
|
1 |
import gradio as gr
|
2 |
from TTS.api import TTS
|
|
|
|
|
|
|
3 |
|
4 |
# Load the XTTS-v2 model and set it to use CPU
|
5 |
tts = TTS(model_name="tts_models/multilingual/multi-dataset/xtts_v2")
|
|
|
1 |
import gradio as gr
|
2 |
from TTS.api import TTS
|
3 |
+
import os
|
4 |
+
|
5 |
+
os.environ["COQUI_TOS_AGREED"] = "1"
|
6 |
|
7 |
# Load the XTTS-v2 model and set it to use CPU
|
8 |
tts = TTS(model_name="tts_models/multilingual/multi-dataset/xtts_v2")
|
config.json
DELETED
@@ -1,5 +0,0 @@
|
|
1 |
-
{
|
2 |
-
"tts_models/multilingual/multi-dataset/xtts_v2": {
|
3 |
-
"tos_accepted": true
|
4 |
-
}
|
5 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|