From d360b101b55e6ed30122149fc199836e38b64389 Mon Sep 17 00:00:00 2001 From: Joel Trauger Date: Mon, 17 Feb 2025 14:34:32 -0600 Subject: [PATCH] Fix CLI spam when checking that packages are installed. Updated requirements to install latest/cached --- __init__.py | 2 +- requirements.txt | 12 ++++++------ 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/__init__.py b/__init__.py index 9f0a7e2..d63d447 100644 --- a/__init__.py +++ b/__init__.py @@ -32,7 +32,7 @@ required_packages = read_requirements() for package in required_packages: if package.lower() not in [pkg.lower() for pkg in installed_packages]: install_package(package) - print("All packages needed by Riffusion are installed.") +print("All packages needed by Riffusion are installed.") ### Don't import nodes until all packages are installed ### from .nodes import NODE_CLASS_MAPPINGS, NODE_DISPLAY_NAME_MAPPINGS diff --git a/requirements.txt b/requirements.txt index 1be5b19..9d6efd4 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,6 +1,6 @@ -numpy>=1.21.0 -Pillow>=9.0.0 -scipy>=1.7.0 -torch>=1.9.0 -torchaudio>=0.9.0 -pedalboard>=0.7.0 +numpy +Pillow +scipy +torch +torchaudio +pedalboard