mirror of
https://github.com/AUTOMATIC1111/stable-diffusion-webui.git
synced 2024-11-27 06:40:10 +08:00
Update launch.py
This commit is contained in:
parent
529afbf4d7
commit
8fb0b99152
@ -104,10 +104,10 @@ def prepare_enviroment():
|
|||||||
args = shlex.split(commandline_args)
|
args = shlex.split(commandline_args)
|
||||||
|
|
||||||
args, skip_torch_cuda_test = extract_arg(args, '--skip-torch-cuda-test')
|
args, skip_torch_cuda_test = extract_arg(args, '--skip-torch-cuda-test')
|
||||||
|
args, reinstall_xformers = extract_argg(args, '--reinstall-xformers')
|
||||||
xformers = '--xformers' in args
|
xformers = '--xformers' in args
|
||||||
deepdanbooru = '--deepdanbooru' in args
|
deepdanbooru = '--deepdanbooru' in args
|
||||||
ngrok = '--ngrok' in args
|
ngrok = '--ngrok' in args
|
||||||
reinstall_xformers = '--reinstall-xformers' in args
|
|
||||||
|
|
||||||
try:
|
try:
|
||||||
commit = run(f"{git} rev-parse HEAD").strip()
|
commit = run(f"{git} rev-parse HEAD").strip()
|
||||||
|
Loading…
Reference in New Issue
Block a user