Spaces:
Runtime error
Runtime error
Commit ·
10f106d
1
Parent(s): 1b3efc8
Update app.py
Browse files
app.py
CHANGED
|
@@ -140,12 +140,13 @@ with app:
|
|
| 140 |
out1 = gr.Audio(label="更高采样率的专属音频", type="filepath")
|
| 141 |
out2 = gr.Audio(label="降噪后的高采样率音频", type="filepath")
|
| 142 |
with gr.Row():
|
| 143 |
-
btn2 = gr.Button("一键提高采样率
|
|
|
|
| 144 |
|
| 145 |
btn.click(fn=infer, inputs=[inp], outputs=[out])
|
| 146 |
btn1.click(fn=infer1, inputs=[inp], outputs=[out])
|
| 147 |
btn2.click(fn=extend, inputs=[out], outputs=[out1])
|
| 148 |
-
|
| 149 |
|
| 150 |
gr.Markdown("### <center>注意❗:请不要生成会对个人以及组织造成侵害的内容,此程序仅供科研、学习及个人娱乐使用。</center>")
|
| 151 |
gr.HTML('''
|
|
|
|
| 140 |
out1 = gr.Audio(label="更高采样率的专属音频", type="filepath")
|
| 141 |
out2 = gr.Audio(label="降噪后的高采样率音频", type="filepath")
|
| 142 |
with gr.Row():
|
| 143 |
+
btn2 = gr.Button("一键提高采样率")
|
| 144 |
+
btn3 = gr.Button("一键降噪")
|
| 145 |
|
| 146 |
btn.click(fn=infer, inputs=[inp], outputs=[out])
|
| 147 |
btn1.click(fn=infer1, inputs=[inp], outputs=[out])
|
| 148 |
btn2.click(fn=extend, inputs=[out], outputs=[out1])
|
| 149 |
+
btn3.click(fn=inference_denoise, inputs=[out1], outputs=[out2])
|
| 150 |
|
| 151 |
gr.Markdown("### <center>注意❗:请不要生成会对个人以及组织造成侵害的内容,此程序仅供科研、学习及个人娱乐使用。</center>")
|
| 152 |
gr.HTML('''
|