Spaces:
Runtime error
Runtime error
Commit
·
8fa5765
1
Parent(s):
c6f8b29
Update app.py
Browse filesfix for tts 0.17.2
app.py
CHANGED
|
@@ -1,6 +1,10 @@
|
|
| 1 |
import gradio as gr
|
|
|
|
| 2 |
from TTS.api import TTS
|
| 3 |
|
|
|
|
|
|
|
|
|
|
| 4 |
tts = TTS("tts_models/multilingual/multi-dataset/xtts_v1")
|
| 5 |
tts.to("cuda")
|
| 6 |
|
|
|
|
| 1 |
import gradio as gr
|
| 2 |
+
import os
|
| 3 |
from TTS.api import TTS
|
| 4 |
|
| 5 |
+
# By using this model you agree to COQUI TOS, will double check on GUI
|
| 6 |
+
os.environ["COQUI_TOS_AGREED"] = "1"
|
| 7 |
+
|
| 8 |
tts = TTS("tts_models/multilingual/multi-dataset/xtts_v1")
|
| 9 |
tts.to("cuda")
|
| 10 |
|