kevinwang676 commited on
Commit
8f4d804
·
1 Parent(s): 3d852d0

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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="普通话 (中国大陆)-Xiaoxiao-女", label="请选择文本对应的语言及您喜欢的说话人")
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