Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -24,7 +24,7 @@ def guessanAge(model, image):
|
|
| 24 |
description = imgclassifier(image)
|
| 25 |
return description
|
| 26 |
|
| 27 |
-
@spaces.GPU
|
| 28 |
def text2speech(model, text, voice):
|
| 29 |
print(voice)
|
| 30 |
if len(text) > 0:
|
|
|
|
| 24 |
description = imgclassifier(image)
|
| 25 |
return description
|
| 26 |
|
| 27 |
+
@spaces.GPU(duration=120)
|
| 28 |
def text2speech(model, text, voice):
|
| 29 |
print(voice)
|
| 30 |
if len(text) > 0:
|