From 691486fd55ac9a91a3a8920f4e0ed82fff685b5e Mon Sep 17 00:00:00 2001 From: ylzz1997 Date: Sun, 23 Jul 2023 09:47:21 +0800 Subject: [PATCH] Debug requirements and ruff fix --- requirements.txt | 5 ++--- requirements_win.txt | 3 +-- resample.py | 2 +- 3 files changed, 4 insertions(+), 6 deletions(-) diff --git a/requirements.txt b/requirements.txt index 2670ea6..f86b81e 100644 --- a/requirements.txt +++ b/requirements.txt @@ -10,7 +10,7 @@ torch torchaudio torchcrepe tqdm -rich.progress +rich loguru scikit-maad praat-parselmouth @@ -26,5 +26,4 @@ edge_tts langdetect pyyaml pynvml -faiss-cpu -loguru +faiss-cpu \ No newline at end of file diff --git a/requirements_win.txt b/requirements_win.txt index 7112b0b..461a992 100644 --- a/requirements_win.txt +++ b/requirements_win.txt @@ -15,7 +15,7 @@ sounddevice==0.4.5 SoundFile==0.10.3.post1 starlette==0.19.1 tqdm==4.63.0 -rich.progress +rich loguru torchcrepe scikit-maad @@ -31,4 +31,3 @@ langdetect pyyaml pynvml faiss-cpu -loguru diff --git a/resample.py b/resample.py index 809cf49..af421fd 100644 --- a/resample.py +++ b/resample.py @@ -6,8 +6,8 @@ from multiprocessing import cpu_count import librosa import numpy as np -from scipy.io import wavfile from rich.progress import track +from scipy.io import wavfile def load_wav(wav_path):