kevinwang676
commited on
Commit
·
1ab01f2
1
Parent(s):
943795d
Update app.py
Browse files
app.py
CHANGED
@@ -494,13 +494,13 @@ while run_server:
|
|
494 |
inp2 = output_audio
|
495 |
inp3 = output_audio
|
496 |
btn = gr.Button("开始生成专属声音吧")
|
497 |
-
out1 = gr.Audio(label="为你生成的专属声音")
|
498 |
btn.click(voice_conversion, [inp1, inp2, inp3], [out1])
|
499 |
|
500 |
with gr.Row():
|
501 |
inp4 = out1
|
502 |
btn2 = gr.Button("对专属声音降噪吧")
|
503 |
-
out2 = gr.Audio(label="降噪后的专属声音")
|
504 |
btn2.click(speechbrain, [inp4], [out2])
|
505 |
|
506 |
|
|
|
494 |
inp2 = output_audio
|
495 |
inp3 = output_audio
|
496 |
btn = gr.Button("开始生成专属声音吧")
|
497 |
+
out1 = gr.Audio(label="为你生成的专属声音", type="filepath")
|
498 |
btn.click(voice_conversion, [inp1, inp2, inp3], [out1])
|
499 |
|
500 |
with gr.Row():
|
501 |
inp4 = out1
|
502 |
btn2 = gr.Button("对专属声音降噪吧")
|
503 |
+
out2 = gr.Audio(label="降噪后的专属声音", type="filepath")
|
504 |
btn2.click(speechbrain, [inp4], [out2])
|
505 |
|
506 |
|