Update app.py
Browse files
app.py
CHANGED
|
@@ -28,6 +28,7 @@ with demo:
|
|
| 28 |
bb_button=gr.Button("运行")
|
| 29 |
bb_button.click(fx, inputs=text_input, outputs=gr.Textbox(label="输出"),api_name='md5')
|
| 30 |
with gr.Column():
|
|
|
|
| 31 |
TTS_input=gr.Textbox(label="输入文本",default="你好吗?我很好。")
|
| 32 |
TTS_button=gr.Button("合成")
|
| 33 |
TTS_button.click(inference, inputs=TTS_input, outputs=gr.Audio(label="输出合成结果"),api_name='tts')
|
|
|
|
| 28 |
bb_button=gr.Button("运行")
|
| 29 |
bb_button.click(fx, inputs=text_input, outputs=gr.Textbox(label="输出"),api_name='md5')
|
| 30 |
with gr.Column():
|
| 31 |
+
gr.Markdown("# TTS文本字符串转语音合成训练")
|
| 32 |
TTS_input=gr.Textbox(label="输入文本",default="你好吗?我很好。")
|
| 33 |
TTS_button=gr.Button("合成")
|
| 34 |
TTS_button.click(inference, inputs=TTS_input, outputs=gr.Audio(label="输出合成结果"),api_name='tts')
|