Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -27,6 +27,7 @@ def guessanAge(model, image):
|
|
27 |
|
28 |
@spaces.GPU(duration=120)
|
29 |
def text2speech(text, sample):
|
|
|
30 |
print(TTS().list_models())
|
31 |
if len(text) > 0:
|
32 |
tts = TTS("tts_models/multilingual/multi-dataset/xtts_v2")
|
|
|
27 |
|
28 |
@spaces.GPU(duration=120)
|
29 |
def text2speech(text, sample):
|
30 |
+
os.environ["COQUI_TOS_AGREED"] = "1"
|
31 |
print(TTS().list_models())
|
32 |
if len(text) > 0:
|
33 |
tts = TTS("tts_models/multilingual/multi-dataset/xtts_v2")
|