From d009fa5d8bd08ac1a93c9218c1a2ff62d4947146 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Niklas=20M=C3=BCller?= Date: Sun, 1 Dec 2024 19:22:48 +0100 Subject: [PATCH] cleanup requirements and imported packages --- .vscode/settings.json | 9 +++++++++ README.md | 4 +++- requirements.txt | 10 ---------- runner.py | 2 -- 4 files changed, 12 insertions(+), 13 deletions(-) create mode 100644 .vscode/settings.json diff --git a/.vscode/settings.json b/.vscode/settings.json new file mode 100644 index 0000000..ae042c7 --- /dev/null +++ b/.vscode/settings.json @@ -0,0 +1,9 @@ +{ + // "editor.cursorBlinking": "expand", + "flake8.args": [ + // --ignore=E501 + // --max-line-length=120 + "--ignore=E501", + "--ignore=E722" + ] +} \ No newline at end of file diff --git a/README.md b/README.md index b22856b..e4889e2 100644 --- a/README.md +++ b/README.md @@ -2,7 +2,9 @@ Run DNF3 and/or RNNOISE on any audio you like. -Just build it: +Put your noisy audio into the ```noisy_audio``` Folder, + +build it ```podman build -t sound-processing-functions .``` diff --git a/requirements.txt b/requirements.txt index b8afc95..730772a 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,9 +1,3 @@ -smbprotocol -requests -lxml -ffmpeg-python - - # DFN (DeepFilterNet) deepfilternet torch @@ -26,7 +20,3 @@ torchaudio -f https://download.pytorch.org/whl/cpu/torch_stable.html #espnet_model_zoo # wheel # https://files.pythonhosted.org/packages/4d/9d/9153942f0e2143a43978bcefba31d79187b7037bed3f85a6668c69493062/sentencepiece-0.1.99-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl - - -# MISC -#torchaudio diff --git a/runner.py b/runner.py index 03bb886..d7bd0de 100644 --- a/runner.py +++ b/runner.py @@ -1,4 +1,3 @@ -import smbclient import logging import traceback import json @@ -6,7 +5,6 @@ import os import sys from pathlib import Path from datetime import datetime -from lxml import etree import subprocess # DeepFilterNet (DFN3)