roychao19477 commited on
Commit
b9afdac
·
1 Parent(s): d4d6daa
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -85,7 +85,7 @@ def enhance(filepath):
85
  ax.set_title("Enhanced Spectrogram")
86
  plt.colorbar(format="%+2.0f dB", ax=ax)
87
 
88
- return out, fig
89
 
90
  demo = gr.Blocks()
91
 
@@ -97,7 +97,7 @@ se_demo = gr.Interface(
97
  ],
98
  outputs = [
99
  gr.Audio(label="Output Audio", type="filepath"),
100
- gr.Plot(label="Spectrogram")
101
  ],
102
  title = "SEMamba",
103
  )
 
85
  ax.set_title("Enhanced Spectrogram")
86
  plt.colorbar(format="%+2.0f dB", ax=ax)
87
 
88
+ return "enhanced.wav"#, fig
89
 
90
  demo = gr.Blocks()
91
 
 
97
  ],
98
  outputs = [
99
  gr.Audio(label="Output Audio", type="filepath"),
100
+ #gr.Plot(label="Spectrogram")
101
  ],
102
  title = "SEMamba",
103
  )