Spaces:
Runtime error
Runtime error
osanseviero
commited on
Commit
•
ec81f5a
1
Parent(s):
9cae43d
Update app.py
Browse files
app.py
CHANGED
@@ -60,26 +60,18 @@ examples = [
|
|
60 |
["how are you doing this day", "freeman"]
|
61 |
]
|
62 |
|
63 |
-
|
64 |
-
|
65 |
-
|
66 |
-
|
67 |
-
|
68 |
-
|
69 |
-
|
70 |
-
|
71 |
-
|
72 |
-
|
73 |
-
|
74 |
-
|
75 |
-
|
76 |
-
enable_queue=True,
|
77 |
-
examples=examples,
|
78 |
-
)
|
79 |
|
80 |
-
|
81 |
-
|
82 |
-
block.launch()
|
83 |
-
|
84 |
-
|
85 |
-
iface.launch(cache_examples=True)
|
|
|
60 |
["how are you doing this day", "freeman"]
|
61 |
]
|
62 |
|
63 |
+
iface = gr.Interface(
|
64 |
+
inference,
|
65 |
+
inputs=[
|
66 |
+
gr.inputs.Textbox(type="str", default=text, label="Text", lines=3),
|
67 |
+
gr.inputs.Dropdown(voices),
|
68 |
+
],
|
69 |
+
outputs="audio",
|
70 |
+
title="TorToiSe",
|
71 |
+
description="A multi-voice TTS system trained with an emphasis on quality",
|
72 |
+
article="This demo shows the ultra fast option in the TorToiSe system. For more info check the <a href='https://github.com/neonbjb/tortoise-tts' target='_blank'>Repository</a>.",
|
73 |
+
enable_queue=True,
|
74 |
+
examples=examples,
|
75 |
+
)
|
|
|
|
|
|
|
76 |
|
77 |
+
iface.launch(cache_examples=True)
|
|
|
|
|
|
|
|
|
|