grgsaliba commited on
Commit
08b14e1
·
verified ·
1 Parent(s): ab20f49

Upload app.py with huggingface_hub

Browse files
Files changed (1) hide show
  1. app.py +5 -3
app.py CHANGED
@@ -368,13 +368,15 @@ with gr.Blocks(css=custom_css, theme=gr.themes.Soft()) as demo:
368
  process_btn.click(
369
  fn=process_audio,
370
  inputs=[audio_input, noise_reduction],
371
- outputs=[audio_output, info_output]
 
372
  )
373
-
374
  demo_btn.click(
375
  fn=generate_demo_audio,
376
  inputs=[],
377
- outputs=[audio_input]
 
378
  )
379
 
380
  # Footer
 
368
  process_btn.click(
369
  fn=process_audio,
370
  inputs=[audio_input, noise_reduction],
371
+ outputs=[audio_output, info_output],
372
+ api_name="denoise"
373
  )
374
+
375
  demo_btn.click(
376
  fn=generate_demo_audio,
377
  inputs=[],
378
+ outputs=[audio_input],
379
+ api_name="demo"
380
  )
381
 
382
  # Footer