check for 3.10

This commit is contained in:
C43H66N12O12S2 2022-10-08 17:22:20 +03:00 committed by AUTOMATIC1111
parent cfc33f99d4
commit 7e639cd498

@ -126,7 +126,7 @@ if not is_installed("gfpgan"):
if not is_installed("clip"):
run_pip(f"install {clip_package}", "clip")
if not is_installed("xformers") and xformers:
if not is_installed("xformers") and xformers and platform.python_version().startswith("3.10"):
if platform.system() == "Windows":
run_pip("install https://github.com/C43H66N12O12S2/stable-diffusion-webui/releases/download/a/xformers-0.0.14.dev0-cp310-cp310-win_amd64.whl", "xformers")
elif platform.system() == "Linux":