Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
|
@@ -40,16 +40,8 @@ def inference(
|
|
| 40 |
|
| 41 |
def main():
|
| 42 |
title = "Tortoise TTS 🐢"
|
| 43 |
-
|
| 44 |
-
A text-to-speech system which powers lot of organizations in Speech synthesis domain.
|
| 45 |
-
<br/>
|
| 46 |
-
a model with strong multi-voice capabilities, highly realistic prosody and intonation.
|
| 47 |
-
<br/>
|
| 48 |
-
for faster inference, use the 'ultra_fast' preset and duplicate space if you don't want to wait in a queue.
|
| 49 |
-
<br/>
|
| 50 |
-
"""
|
| 51 |
text = gr.Textbox(
|
| 52 |
-
lines=1,
|
| 53 |
label="Text",
|
| 54 |
)
|
| 55 |
|
|
@@ -64,10 +56,9 @@ def main():
|
|
| 64 |
reference_audio,
|
| 65 |
],
|
| 66 |
title=title,
|
| 67 |
-
|
| 68 |
-
outputs=[output_audio],
|
| 69 |
)
|
| 70 |
-
interface.
|
| 71 |
|
| 72 |
|
| 73 |
if __name__ == "__main__":
|
|
|
|
| 40 |
|
| 41 |
def main():
|
| 42 |
title = "Tortoise TTS 🐢"
|
| 43 |
+
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 44 |
text = gr.Textbox(
|
|
|
|
| 45 |
label="Text",
|
| 46 |
)
|
| 47 |
|
|
|
|
| 56 |
reference_audio,
|
| 57 |
],
|
| 58 |
title=title,
|
| 59 |
+
outputs=output_audio,
|
|
|
|
| 60 |
)
|
| 61 |
+
interface.launch()
|
| 62 |
|
| 63 |
|
| 64 |
if __name__ == "__main__":
|