add more package version check
This commit is contained in:
parent
d3f6f69af6
commit
95245425eb
@ -16,13 +16,17 @@ _package_versions = {}
|
|||||||
|
|
||||||
_CANDIDATES = [
|
_CANDIDATES = [
|
||||||
"torch",
|
"torch",
|
||||||
|
"torchvision",
|
||||||
"Pillow",
|
"Pillow",
|
||||||
"diffusers",
|
"diffusers",
|
||||||
"transformers",
|
"transformers",
|
||||||
"opencv-python",
|
"opencv-python",
|
||||||
"xformers",
|
"xformers",
|
||||||
"accelerate",
|
"accelerate",
|
||||||
"lama-cleaner"
|
"lama-cleaner",
|
||||||
|
"rembg",
|
||||||
|
"realesrgan",
|
||||||
|
"gfpgan",
|
||||||
]
|
]
|
||||||
# Check once at runtime
|
# Check once at runtime
|
||||||
for name in _CANDIDATES:
|
for name in _CANDIDATES:
|
||||||
|
Loading…
Reference in New Issue
Block a user