Spaces:
Paused
Paused
zxsipola123456
commited on
Update app.py
Browse files
app.py
CHANGED
@@ -94,7 +94,7 @@ with app:
|
|
94 |
btn1 = gr.Button("一键开启AI变声吧", variant="primary")
|
95 |
with gr.Column():
|
96 |
out1 = gr.Audio(type="filepath", label="AI变声后的专属音频")
|
97 |
-
btn_text.click(tts, [inp_text, model, voice, api_key], inp1)
|
98 |
btn1.click(voice_change, [inp1, inp2], out1)
|
99 |
with gr.Tab("⚡ Edge TTS"):
|
100 |
with gr.Row():
|
@@ -121,4 +121,4 @@ with app:
|
|
121 |
</div>
|
122 |
''')
|
123 |
|
124 |
-
app.launch(share=True
|
|
|
94 |
btn1 = gr.Button("一键开启AI变声吧", variant="primary")
|
95 |
with gr.Column():
|
96 |
out1 = gr.Audio(type="filepath", label="AI变声后的专属音频")
|
97 |
+
btn_text.click(tts, [inp_text, model, voice, api_key, base_url], inp1)
|
98 |
btn1.click(voice_change, [inp1, inp2], out1)
|
99 |
with gr.Tab("⚡ Edge TTS"):
|
100 |
with gr.Row():
|
|
|
121 |
</div>
|
122 |
''')
|
123 |
|
124 |
+
app.launch(share=True)
|