Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
|
@@ -157,11 +157,7 @@ if __name__ == "__main__":
|
|
| 157 |
models_vc.append((name, description, speakers, create_vc_fn(model, hps, speaker_ids)))
|
| 158 |
app = gr.Blocks()
|
| 159 |
with app:
|
| 160 |
-
gr.Markdown("# English & Chinese & Japanese
|
| 161 |
-
"\n\n"
|
| 162 |
-
"Including Japanese TTS & Trilingual TTS, speakers are all anime characters. \n\n包含一个纯日语TTS和一个中日英三语TTS模型,主要为二次元角色。\n\n"
|
| 163 |
-
"If you have any suggestions or bug reports, feel free to open discussion in [Community](https://huggingface.co/spaces/Plachta/VITS-Umamusume-voice-synthesizer/discussions).\n\n"
|
| 164 |
-
"若有bug反馈或建议,请在[Community](https://huggingface.co/spaces/Plachta/VITS-Umamusume-voice-synthesizer/discussions)下开启一个新的Discussion。 \n\n"
|
| 165 |
)
|
| 166 |
with gr.Tabs():
|
| 167 |
with gr.TabItem("TTS"):
|
|
@@ -212,7 +208,7 @@ if __name__ == "__main__":
|
|
| 212 |
char_dropdown = gr.Dropdown(choices=speakers, value=speakers[0], label='character')
|
| 213 |
language_dropdown = gr.Dropdown(choices=lang, value=lang[0], label='language')
|
| 214 |
duration_slider = gr.Slider(minimum=0.1, maximum=5, value=1, step=0.1,
|
| 215 |
-
label='
|
| 216 |
with gr.Column():
|
| 217 |
text_output = gr.Textbox(label="Message")
|
| 218 |
audio_output = gr.Audio(label="Output Audio", elem_id="tts-audio")
|
|
|
|
| 157 |
models_vc.append((name, description, speakers, create_vc_fn(model, hps, speaker_ids)))
|
| 158 |
app = gr.Blocks()
|
| 159 |
with app:
|
| 160 |
+
gr.Markdown("# English & Chinese & Japanese Code Realize TTS\n\n"
|
|
|
|
|
|
|
|
|
|
|
|
|
| 161 |
)
|
| 162 |
with gr.Tabs():
|
| 163 |
with gr.TabItem("TTS"):
|
|
|
|
| 208 |
char_dropdown = gr.Dropdown(choices=speakers, value=speakers[0], label='character')
|
| 209 |
language_dropdown = gr.Dropdown(choices=lang, value=lang[0], label='language')
|
| 210 |
duration_slider = gr.Slider(minimum=0.1, maximum=5, value=1, step=0.1,
|
| 211 |
+
label='Speed')
|
| 212 |
with gr.Column():
|
| 213 |
text_output = gr.Textbox(label="Message")
|
| 214 |
audio_output = gr.Audio(label="Output Audio", elem_id="tts-audio")
|