From c4b6cefdbd08e2fc0c3729a6784b28a234962d75 Mon Sep 17 00:00:00 2001 From: AlUlkesh <99896447+AlUlkesh@users.noreply.github.com> Date: Sat, 6 May 2023 21:33:01 +0200 Subject: [PATCH] Image Reward temporarily deactivated, #146 --- install.py | 5 +++-- scripts/image_browser.py | 4 +++- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/install.py b/install.py index aac8b58..df6059a 100644 --- a/install.py +++ b/install.py @@ -3,5 +3,6 @@ import launch if not launch.is_installed("send2trash"): launch.run_pip("install Send2Trash", "Send2Trash requirement for image browser") -if not launch.is_installed("ImageReward"): - launch.run_pip("install image-reward", "ImageReward requirement for image browser") +# temporarily deactivated +#if not launch.is_installed("ImageReward"): + #launch.run_pip("install image-reward", "ImageReward requirement for image browser") diff --git a/scripts/image_browser.py b/scripts/image_browser.py index 98a68f0..40a654f 100644 --- a/scripts/image_browser.py +++ b/scripts/image_browser.py @@ -47,7 +47,9 @@ except ImportError: try: import ImageReward - image_reward_installed = True + # temporarily deactivated + # image_reward_installed = True + image_reward_installed = False except ImportError: print("Image Browser: ImageReward is not installed, cannot be used.") image_reward_installed = False