hshr Gowdamn commited on
Commit
3f90cb2
1 Parent(s): 0b0666f

Added an api endpoint - '/denoise' (#6)

Browse files

- Added an api endpoint - '/denoise' (4c2a51030d1e003a4b84a67dc12286e96e5c4840)


Co-authored-by: Gowdham Ravichandran <Gowdamn@users.noreply.huggingface.co>

Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -315,7 +315,7 @@ 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
+ btn.click(fn=demo_fn, inputs=inputs, outputs=outputs, api_name='denoise')
319
  radio.change(toggle, radio, [mic_input, audio_file])
320
  gr.Examples(
321
  [