Spaces:
Sleeping
Sleeping
Commit
·
8f4d804
1
Parent(s):
3d852d0
Update app.py
Browse files
app.py
CHANGED
@@ -346,7 +346,7 @@ with gr.Blocks(title="ChatGLM2-6B-int4", theme=gr.themes.Soft(text_size="sm")) a
|
|
346 |
with gr.Row():
|
347 |
test1 = gr.Textbox(label="GLM2的最新回答 (可编辑)", lines = 3)
|
348 |
with gr.Column():
|
349 |
-
language = gr.Dropdown(choices=voices, value="
|
350 |
tts_btn = gr.Button("生成对应的音频吧", variant="primary")
|
351 |
output_audio = gr.Audio(type="filepath", label="为您生成的音频", interactive=False)
|
352 |
|
|
|
346 |
with gr.Row():
|
347 |
test1 = gr.Textbox(label="GLM2的最新回答 (可编辑)", lines = 3)
|
348 |
with gr.Column():
|
349 |
+
language = gr.Dropdown(choices=voices, value="en-US-AnaNeural-Female", label="请选择文本对应的语言及您喜欢的说话人")
|
350 |
tts_btn = gr.Button("生成对应的音频吧", variant="primary")
|
351 |
output_audio = gr.Audio(type="filepath", label="为您生成的音频", interactive=False)
|
352 |
|