Spaces:
Paused
Paused
zxsipola123456
commited on
Update app.py
Browse files
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,
|
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 |
|