Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -30,7 +30,7 @@ sr_demo = gr.Interface(
|
|
| 30 |
fn=fn_clearvoice_sr,
|
| 31 |
inputs = [
|
| 32 |
gr.Audio(label="Input Audio", type="filepath"),
|
| 33 |
-
gr.Checkbox(
|
| 34 |
],
|
| 35 |
outputs = [
|
| 36 |
gr.Audio(label="Output Audio", type="filepath"),
|
|
@@ -41,10 +41,10 @@ sr_demo = gr.Interface(
|
|
| 41 |
article = ("<p style='text-align: center'><a href='https://arxiv.org/abs/2206.07293' target='_blank'>FRCRN: Boosting Feature Representation Using Frequency Recurrence for Monaural Speech Enhancement</a> </p>"
|
| 42 |
"<p style='text-align: center'><a href='https://arxiv.org/abs/2312.11825' target='_blank'>MossFormer2: Combining Transformer and RNN-Free Recurrent Network for Enhanced Time-Domain Monaural Speech Separation</a> </p>"),
|
| 43 |
examples = [
|
| 44 |
-
["examples/mandarin_speech_16kHz.wav",
|
| 45 |
-
["examples/LJSpeech-001-0001-22k.wav",
|
| 46 |
-
["examples/LibriTTS_986_129388_24k.wav",
|
| 47 |
-
["examples/english_speech_48kHz.wav",
|
| 48 |
],
|
| 49 |
cache_examples = True,
|
| 50 |
)
|
|
|
|
| 30 |
fn=fn_clearvoice_sr,
|
| 31 |
inputs = [
|
| 32 |
gr.Audio(label="Input Audio", type="filepath"),
|
| 33 |
+
gr.Checkbox(label="Apply Speech Enhancement", value=True),
|
| 34 |
],
|
| 35 |
outputs = [
|
| 36 |
gr.Audio(label="Output Audio", type="filepath"),
|
|
|
|
| 41 |
article = ("<p style='text-align: center'><a href='https://arxiv.org/abs/2206.07293' target='_blank'>FRCRN: Boosting Feature Representation Using Frequency Recurrence for Monaural Speech Enhancement</a> </p>"
|
| 42 |
"<p style='text-align: center'><a href='https://arxiv.org/abs/2312.11825' target='_blank'>MossFormer2: Combining Transformer and RNN-Free Recurrent Network for Enhanced Time-Domain Monaural Speech Separation</a> </p>"),
|
| 43 |
examples = [
|
| 44 |
+
["examples/mandarin_speech_16kHz.wav", True],
|
| 45 |
+
["examples/LJSpeech-001-0001-22k.wav", True],
|
| 46 |
+
["examples/LibriTTS_986_129388_24k.wav", True],
|
| 47 |
+
["examples/english_speech_48kHz.wav", True],
|
| 48 |
],
|
| 49 |
cache_examples = True,
|
| 50 |
)
|