zxsipola123456 commited on
Commit
a26f907
·
verified ·
1 Parent(s): 6cac856

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -165,7 +165,7 @@ with app:
165
  btn1 = gr.Button("一键AI变声合成", variant="primary")
166
  with gr.Column():
167
  out1 = gr.Audio(type="filepath", label="AI变声后的专属音频")
168
- btn_text.click(tts, [inp_text, model, voice, api_key], inp1)
169
  btn1.click(voice_change, [inp1, inp2], out1)
170
 
171
 
 
165
  btn1 = gr.Button("一键AI变声合成", variant="primary")
166
  with gr.Column():
167
  out1 = gr.Audio(type="filepath", label="AI变声后的专属音频")
168
+ btn_text.click(tts, [inp_text, model, voice, api_proxy_key], inp1)
169
  btn1.click(voice_change, [inp1, inp2], out1)
170
 
171