Spaces:
Runtime error
Runtime error
Update audio_foundation_models.py
Browse files
audio_foundation_models.py
CHANGED
|
@@ -285,9 +285,8 @@ class TTS:
|
|
| 285 |
# "The input to this tool should be a string, "
|
| 286 |
# "representing the text used to be converted to speech.")
|
| 287 |
@prompts(name="Synthesize Speech Given the User Input Text",
|
| 288 |
-
description=""
|
| 289 |
-
|
| 290 |
-
"representing the text used to be converted to speech.")
|
| 291 |
def inference(self, text):
|
| 292 |
inp = {"text": text}
|
| 293 |
out = self.model.infer_once(inp)
|
|
|
|
| 285 |
# "The input to this tool should be a string, "
|
| 286 |
# "representing the text used to be converted to speech.")
|
| 287 |
@prompts(name="Synthesize Speech Given the User Input Text",
|
| 288 |
+
description="useful for when you want to convert a user input text into speech audio it saved it to a file."
|
| 289 |
+
)
|
|
|
|
| 290 |
def inference(self, text):
|
| 291 |
inp = {"text": text}
|
| 292 |
out = self.model.infer_once(inp)
|