From dd960a031b33fd81295532d3f48d59d77c04f63a Mon Sep 17 00:00:00 2001 From: David Ooi <45958279+OoiHS@users.noreply.github.com> Date: Wed, 4 Sep 2024 11:18:16 +0800 Subject: [PATCH] Loosen Dependency Requirements (#33) * Update pyproject.toml Loosen Numpy and Scipy requirements * Update pyproject.toml Changed transformers requirement * Update pyproject.toml Fixed missing models folder issue --- pyproject.toml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index 7c899b9..3b18123 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -18,15 +18,15 @@ classifiers = [ "Operating System :: OS Independent", ] dependencies = [ - 'numpy==1.23.4', + 'numpy>=1.23.4', 'torch', - 'scipy==1.10.1', + 'scipy>=1.10.1', 'tqdm', 'soundfile', 'resampy', 'torchlibrosa', 'laion_clap', - 'transformers<=4.30.2', + 'transformers>=4.30.2', 'torchaudio', 'encodec', ] @@ -35,4 +35,4 @@ dependencies = [ "Homepage" = "https://github.com/gudgud96/frechet-audio-distance" [tool.setuptools] -packages = ["frechet_audio_distance"] \ No newline at end of file +packages = ["frechet_audio_distance", "frechet_audio_distance.models"]