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