Image Reward temporarily deactivated, #146

pull/182/head
AlUlkesh 2023-05-06 21:33:01 +02:00
parent 708bd5860e
commit c4b6cefdbd
2 changed files with 6 additions and 3 deletions

View File

@ -3,5 +3,6 @@ import launch
if not launch.is_installed("send2trash"): if not launch.is_installed("send2trash"):
launch.run_pip("install Send2Trash", "Send2Trash requirement for image browser") launch.run_pip("install Send2Trash", "Send2Trash requirement for image browser")
if not launch.is_installed("ImageReward"): # temporarily deactivated
launch.run_pip("install image-reward", "ImageReward requirement for image browser") #if not launch.is_installed("ImageReward"):
#launch.run_pip("install image-reward", "ImageReward requirement for image browser")

View File

@ -47,7 +47,9 @@ except ImportError:
try: try:
import ImageReward import ImageReward
image_reward_installed = True # temporarily deactivated
# image_reward_installed = True
image_reward_installed = False
except ImportError: except ImportError:
print("Image Browser: ImageReward is not installed, cannot be used.") print("Image Browser: ImageReward is not installed, cannot be used.")
image_reward_installed = False image_reward_installed = False