alibabasglab commited on
Commit
6963e61
·
verified ·
1 Parent(s): 0f8dddd

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +6 -6
app.py CHANGED
@@ -42,8 +42,8 @@ se_demo = gr.Interface(
42
  ],
43
  title = "ClearVoice: Speech Enhancement",
44
  description = ("Gradio demo for Speech enhancement with ClearVoice. To use it, simply upload your audio, or click one of the examples to load them. Read more at the links below."),
45
- #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> | <a href='https://github.com/alibabasglab/FRCRN' target='_blank'>Github Repo</a></p>"
46
- # ),
47
  examples = [
48
  ['examples/mandarin_speech_16kHz.wav'],
49
  ['examples/english_speech_48kHz.wav'],
@@ -62,8 +62,8 @@ ss_demo = gr.Interface(
62
  ],
63
  title = "ClearVoice: Speech Separation",
64
  description = ("Gradio demo for Speech enhancement with ClearVoice. To use it, simply upload your audio, or click one of the examples to load them. Read more at the links below."),
65
- #article = ("<p style='text-align: center'><a href='https://arxiv.org/abs/2302.11824' target='_blank'>MossFormer: Pushing the Performance Limit of Monaural Speech Separation using Gated Single-Head Transformer with Convolution-Augmented Joint Self-Attentions</a> | <a href='https://github.com/alibabasglab/MossFormer' target='_blank'>Github Repo</a></p>"
66
- # "<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> | <a href='https://github.com/alibabasglab/MossFormer2' target='_blank'>Github Repo</a></p>"),
67
  examples = [
68
  ['examples/female_female_speech.wav'],
69
  ['examples/female_male_speech.wav'],
@@ -72,7 +72,7 @@ ss_demo = gr.Interface(
72
  )
73
 
74
  with demo:
75
- gr.TabbedInterface([se_demo], ["Speech Enhancement"])
76
- #gr.TabbedInterface([se_demo, ss_demo], ["Speech Enhancement", "Speech Separation"])
77
 
78
  demo.launch()
 
42
  ],
43
  title = "ClearVoice: Speech Enhancement",
44
  description = ("Gradio demo for Speech enhancement with ClearVoice. To use it, simply upload your audio, or click one of the examples to load them. Read more at the links below."),
45
+ 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> | <a href='https://github.com/alibabasglab/FRCRN' target='_blank'>Github Repo</a></p>"
46
+ ),
47
  examples = [
48
  ['examples/mandarin_speech_16kHz.wav'],
49
  ['examples/english_speech_48kHz.wav'],
 
62
  ],
63
  title = "ClearVoice: Speech Separation",
64
  description = ("Gradio demo for Speech enhancement with ClearVoice. To use it, simply upload your audio, or click one of the examples to load them. Read more at the links below."),
65
+ article = ("<p style='text-align: center'><a href='https://arxiv.org/abs/2302.11824' target='_blank'>MossFormer: Pushing the Performance Limit of Monaural Speech Separation using Gated Single-Head Transformer with Convolution-Augmented Joint Self-Attentions</a> | <a href='https://github.com/alibabasglab/MossFormer' target='_blank'>Github Repo</a></p>"
66
+ "<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> | <a href='https://github.com/alibabasglab/MossFormer2' target='_blank'>Github Repo</a></p>"),
67
  examples = [
68
  ['examples/female_female_speech.wav'],
69
  ['examples/female_male_speech.wav'],
 
72
  )
73
 
74
  with demo:
75
+ #gr.TabbedInterface([se_demo], ["Speech Enhancement"])
76
+ gr.TabbedInterface([se_demo, ss_demo], ["Speech Enhancement", "Speech Separation"])
77
 
78
  demo.launch()