Gowdamn commited on
Commit
1ddf1b0
1 Parent(s): 0b0666f

Update app.py

Browse files

Added an api endpoint /denoise

Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -315,7 +315,8 @@ with gr.Blocks() as demo:
315
  gr.Audio(type="filepath", label="Enhanced audio"),
316
  gr.Image(label="Enhanced spectrogram"),
317
  ]
318
- btn.click(fn=demo_fn, inputs=inputs, outputs=outputs)
 
319
  radio.change(toggle, radio, [mic_input, audio_file])
320
  gr.Examples(
321
  [
 
315
  gr.Audio(type="filepath", label="Enhanced audio"),
316
  gr.Image(label="Enhanced spectrogram"),
317
  ]
318
+ #Gowdamn - Added api_name = 'denoise'
319
+ btn.click(fn=demo_fn, inputs=inputs, outputs=outputs,api_name='denoise')
320
  radio.change(toggle, radio, [mic_input, audio_file])
321
  gr.Examples(
322
  [