Merge pull request #10381 from AUTOMATIC1111/minor-fix

Minor fix
This commit is contained in:
AUTOMATIC1111 2023-05-18 17:51:58 +03:00 committed by GitHub
commit 3885f8a63e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -278,7 +278,7 @@ def prepare_environment():
if not is_installed("xformers"):
exit(0)
elif platform.system() == "Linux":
run_pip(f"install {xformers_package}", "xformers")
run_pip(f"install -U -I --no-deps {xformers_package}", "xformers")
if not is_installed("ngrok") and args.ngrok:
run_pip("install ngrok", "ngrok")