Spaces:
Running
on
Zero
Running
on
Zero
roychao19477
commited on
Commit
·
feda893
1
Parent(s):
6ecd7dd
Upload
Browse files
app.py
CHANGED
@@ -88,21 +88,19 @@ def enhance(filepath):
|
|
88 |
|
89 |
|
90 |
|
91 |
-
|
92 |
-
|
93 |
-
|
94 |
-
|
95 |
-
|
96 |
-
|
97 |
-
|
98 |
-
|
99 |
-
|
100 |
-
|
101 |
-
|
102 |
-
|
103 |
-
|
104 |
-
cache_examples=False,
|
105 |
-
)
|
106 |
|
107 |
if __name__ == "__main__":
|
108 |
-
|
|
|
88 |
|
89 |
|
90 |
|
91 |
+
se_demo = gr.Interface(
|
92 |
+
fn = enhance,
|
93 |
+
inputs = [
|
94 |
+
gr.Audio(label="Input Audio", type="filepath"),
|
95 |
+
gr.Checkbox(label="Apply Speech Enhancement", value=True),
|
96 |
+
],
|
97 |
+
outputs = [
|
98 |
+
gr.Audio(label="Output Audio", type="filepath"),
|
99 |
+
#gr.Plot(label="Spectrogram")
|
100 |
+
],
|
101 |
+
title = "SEMamba",
|
102 |
+
cache_examples=False,
|
103 |
+
)
|
|
|
|
|
104 |
|
105 |
if __name__ == "__main__":
|
106 |
+
se_demo.launch()
|