shreyasvn/audio-noise-removal-system
0
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
- stationary →
noisereduce - otherwise → DeepFilterNet (falls back to
noisereduceif it fails)
It returns the detected noise type, the SNR, and original/cleaned spectrograms.
Deploy on Hugging Face Spaces
- Create a new Space → Docker SDK.
- Push this folder to the Space repo.
- Spaces builds the
Dockerfileand serves the app on port7860.
Run locally
docker build -t audio-noise-removal .
docker run -p 7860:7860 audio-noise-removalThen 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.
