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