CoolFace
Apppublic

shreyasvn/audio-noise-removal-system

sourceHugging Faceupdated 3mo agoView on Hugging Face
0likes
App README

Audio Noise Removal System

Flask app that classifies the dominant noise in an uploaded audio file and cleans it with the appropriate method:

  • electrical (mains hum) → notch filter
  • stationarynoisereduce
  • otherwise → DeepFilterNet (falls back to noisereduce if it fails)

It returns the detected noise type, the SNR, and original/cleaned spectrograms.

Deploy on Hugging Face Spaces

  1. 1.Create a new Space → Docker SDK.
  2. 2.Push this folder to the Space repo.
  3. 3.Spaces builds the Dockerfile and serves the app on port 7860.

Run locally

bash
docker build -t audio-noise-removal .
docker run -p 7860:7860 audio-noise-removal

Then open http://localhost:7860

Built on Python 3.11 on purpose: on Python 3.12, DeepFilterNet has no prebuilt wheels and needs a Rust toolchain to compile. 3.11 installs from prebuilt wheels, so no Rust is required.