kevinwang676 commited on
Commit
54dfa91
1 Parent(s): 1fcb37d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -0
app.py CHANGED
@@ -124,6 +124,8 @@ with app:
124
  inp_vc = gr.Audio(type="filepath", label="请上传AI变声的参照音频(决定变声后的语音音色)")
125
  btn_vc = gr.Button("一键开启AI变声吧", variant="primary")
126
  out_vc = gr.Audio(type="filepath", label="AI变声后的专属音频")
 
 
127
  btn_vc.click(voice_change, [output_audio, inp_vc], out_vc)
128
 
129
 
 
124
  inp_vc = gr.Audio(type="filepath", label="请上传AI变声的参照音频(决定变声后的语音音色)")
125
  btn_vc = gr.Button("一键开启AI变声吧", variant="primary")
126
  out_vc = gr.Audio(type="filepath", label="AI变声后的专属音频")
127
+
128
+ btn_edge.click(text_to_speech_edge, [input_text, language], [output_text, output_audio])
129
  btn_vc.click(voice_change, [output_audio, inp_vc], out_vc)
130
 
131