Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -25,7 +25,7 @@ def guessanAge(model, image):
|
|
| 25 |
description = imgclassifier(image)
|
| 26 |
return description
|
| 27 |
|
| 28 |
-
|
| 29 |
def text2speech(text, sample):
|
| 30 |
os.environ["COQUI_TOS_AGREED"] = "1"
|
| 31 |
if len(text) > 0:
|
|
|
|
| 25 |
description = imgclassifier(image)
|
| 26 |
return description
|
| 27 |
|
| 28 |
+
@spaces.GPU(duration=120)
|
| 29 |
def text2speech(text, sample):
|
| 30 |
os.environ["COQUI_TOS_AGREED"] = "1"
|
| 31 |
if len(text) > 0:
|