Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -27,7 +27,7 @@ def guessanAge(model, image):
|
|
| 27 |
return description
|
| 28 |
|
| 29 |
@spaces.GPU(duration=120)
|
| 30 |
-
def text2speech(text,
|
| 31 |
device = "cuda" if torch.cuda.is_available() else "cpu"
|
| 32 |
os.environ["COQUI_TOS_AGREED"] = "1"
|
| 33 |
if sample is None:
|
|
|
|
| 27 |
return description
|
| 28 |
|
| 29 |
@spaces.GPU(duration=120)
|
| 30 |
+
def text2speech(text, no0, no1, sample):
|
| 31 |
device = "cuda" if torch.cuda.is_available() else "cpu"
|
| 32 |
os.environ["COQUI_TOS_AGREED"] = "1"
|
| 33 |
if sample is None:
|