add more package version check

This commit is contained in:
Qing 2023-04-16 09:59:35 +08:00
parent d3f6f69af6
commit 95245425eb

View File

@ -16,13 +16,17 @@ _package_versions = {}
_CANDIDATES = [
"torch",
"torchvision",
"Pillow",
"diffusers",
"transformers",
"opencv-python",
"xformers",
"accelerate",
"lama-cleaner"
"lama-cleaner",
"rembg",
"realesrgan",
"gfpgan",
]
# Check once at runtime
for name in _CANDIDATES: