Spaces:
Build error
Build error
Update app.py
Browse files
app.py
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
|
|
| 1 |
from TTS.api import TTS
|
| 2 |
import gradio as gr
|
| 3 |
from googletrans import Translator, LANGUAGES
|
| 4 |
|
| 5 |
-
#
|
| 6 |
-
import os
|
| 7 |
os.environ["COQUI_TTS_NO_TERMS"] = "true"
|
| 8 |
|
| 9 |
# Load the TTS model once
|
|
|
|
| 1 |
+
import os
|
| 2 |
from TTS.api import TTS
|
| 3 |
import gradio as gr
|
| 4 |
from googletrans import Translator, LANGUAGES
|
| 5 |
|
| 6 |
+
# Set environment variable to automatically accept the license terms
|
|
|
|
| 7 |
os.environ["COQUI_TTS_NO_TERMS"] = "true"
|
| 8 |
|
| 9 |
# Load the TTS model once
|