Spaces:
Runtime error
Runtime error
kevinwang676
commited on
Commit
•
7210b03
1
Parent(s):
d64a0b1
Update app.py
Browse files
app.py
CHANGED
@@ -115,7 +115,7 @@ with app:
|
|
115 |
with gr.Row():
|
116 |
input_text = gr.Textbox(lines=5, placeholder="想说却还没说的 还很多 攒着是因为想写成歌", label="请填写您想生成的文本(中英文皆可)")
|
117 |
default_language = list(language_dict.keys())[15]
|
118 |
-
language = gr.Dropdown(choices=list(language_dict.keys()),
|
119 |
btn_edge = gr.Button("一键开启真实拟声吧", variant="primary")
|
120 |
output_text = gr.Textbox(label="输出文本", visible=False)
|
121 |
output_audio = gr.Audio(type="filepath", label="Edge TTS真实拟声")
|
|
|
115 |
with gr.Row():
|
116 |
input_text = gr.Textbox(lines=5, placeholder="想说却还没说的 还很多 攒着是因为想写成歌", label="请填写您想生成的文本(中英文皆可)")
|
117 |
default_language = list(language_dict.keys())[15]
|
118 |
+
language = gr.Dropdown(choices=list(language_dict.keys()), value=default_language, label="请选择文本对应的语言")
|
119 |
btn_edge = gr.Button("一键开启真实拟声吧", variant="primary")
|
120 |
output_text = gr.Textbox(label="输出文本", visible=False)
|
121 |
output_audio = gr.Audio(type="filepath", label="Edge TTS真实拟声")
|