mrfakename
commited on
Commit
•
245eecf
1
Parent(s):
881961f
Update app.py
Browse files
app.py
CHANGED
@@ -38,7 +38,7 @@ def load_speakers(language, text):
|
|
38 |
newtext = text
|
39 |
return gr.update(value=list(models[language].hps.data.spk2id.keys())[0], choices=list(models[language].hps.data.spk2id.keys())), newtext
|
40 |
with gr.Blocks() as demo:
|
41 |
-
gr.Markdown('# MeloTTS Demo\n\nAn unofficial for [MeloTTS](https://github.com/myshell-ai/MeloTTS). **Make sure to try out several speakers, for example EN-Default!**')
|
42 |
with gr.Group():
|
43 |
speaker = gr.Dropdown(speaker_ids.keys(), interactive=True, value='EN-US', label='Speaker')
|
44 |
language = gr.Radio(['EN', 'ES', 'FR', 'ZH', 'JP', 'KR'], label='Language', value='EN')
|
|
|
38 |
newtext = text
|
39 |
return gr.update(value=list(models[language].hps.data.spk2id.keys())[0], choices=list(models[language].hps.data.spk2id.keys())), newtext
|
40 |
with gr.Blocks() as demo:
|
41 |
+
gr.Markdown('# MeloTTS Demo\n\nAn unofficial demo for [MeloTTS](https://github.com/myshell-ai/MeloTTS). **Make sure to try out several speakers, for example EN-Default!**')
|
42 |
with gr.Group():
|
43 |
speaker = gr.Dropdown(speaker_ids.keys(), interactive=True, value='EN-US', label='Speaker')
|
44 |
language = gr.Radio(['EN', 'ES', 'FR', 'ZH', 'JP', 'KR'], label='Language', value='EN')
|