Better improvements
Browse files
app.py
CHANGED
@@ -221,19 +221,19 @@ Leave a star on the Github <a href="https://github.com/coqui-ai/TTS">TTS</a>, wh
|
|
221 |
label="Language",
|
222 |
info="Select an output language for the synthesised speech",
|
223 |
choices=[
|
224 |
-
["Arabic", "ar"],
|
225 |
-
["Brazilian Portuguese", "pt"],
|
226 |
-
["Mandarin Chinese", "zh-cn"],
|
227 |
-
["Czech", "cs"],
|
228 |
-
["Dutch", "nl"],
|
229 |
-
["English", "en"],
|
230 |
-
["French", "fr"],
|
231 |
-
["German", "de"],
|
232 |
-
["Italian", "it"],
|
233 |
-
["Polish", "pl"],
|
234 |
-
["Russian", "ru"],
|
235 |
-
["Spanish", "es"],
|
236 |
-
["Turkish", "tr"]
|
237 |
],
|
238 |
max_choices=1,
|
239 |
value="en",
|
@@ -247,7 +247,7 @@ Leave a star on the Github <a href="https://github.com/coqui-ai/TTS">TTS</a>, wh
|
|
247 |
elem_id = "gender-id",
|
248 |
)
|
249 |
audio_file_pth = gr.Audio(
|
250 |
-
label="Reference Audio",
|
251 |
#info="Click on the โ button to upload your own target speaker audio",
|
252 |
type="filepath",
|
253 |
value=None,
|
@@ -306,7 +306,7 @@ Leave a star on the Github <a href="https://github.com/coqui-ai/TTS">TTS</a>, wh
|
|
306 |
elem_id = "submit-id"
|
307 |
)
|
308 |
|
309 |
-
warning = gr.HTML(value = "<center><
|
310 |
|
311 |
synthesised_audio_1 = gr.Audio(
|
312 |
label="Synthesised Audio #1",
|
|
|
221 |
label="Language",
|
222 |
info="Select an output language for the synthesised speech",
|
223 |
choices=[
|
224 |
+
["โช Arabic", "ar"],
|
225 |
+
["๐ง๐ท Brazilian Portuguese", "pt"],
|
226 |
+
["๐จ๐ณ Mandarin Chinese", "zh-cn"],
|
227 |
+
["๐จ๐ฟ Czech", "cs"],
|
228 |
+
["๐ณ๐ฑ Dutch", "nl"],
|
229 |
+
["๐ฌ๐ง English", "en"],
|
230 |
+
["๐ซ๐ท French", "fr"],
|
231 |
+
["๐ฉ๐ช German", "de"],
|
232 |
+
["๐ฎ๐น Italian", "it"],
|
233 |
+
["๐ต๐ฑ Polish", "pl"],
|
234 |
+
["๐ท๐บ Russian", "ru"],
|
235 |
+
["๐ช๐ธ Spanish", "es"],
|
236 |
+
["๐น๐ท Turkish", "tr"]
|
237 |
],
|
238 |
max_choices=1,
|
239 |
value="en",
|
|
|
247 |
elem_id = "gender-id",
|
248 |
)
|
249 |
audio_file_pth = gr.Audio(
|
250 |
+
label="Reference Audio (10 min. seems ideal)",
|
251 |
#info="Click on the โ button to upload your own target speaker audio",
|
252 |
type="filepath",
|
253 |
value=None,
|
|
|
306 |
elem_id = "submit-id"
|
307 |
)
|
308 |
|
309 |
+
warning = gr.HTML(value = "<center><span style='color: red;''>Your computer must not enter into standby mode.</span> On Chrome, you can force to keep a tab alive in <code>chrome://discards/</code> The generation time may vary on the number of characters.</center>", visible = False)
|
310 |
|
311 |
synthesised_audio_1 = gr.Audio(
|
312 |
label="Synthesised Audio #1",
|