diff options
author | AUTOMATIC1111 <16777216c@gmail.com> | 2023-01-05 07:12:25 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-01-05 07:12:25 +0000 |
commit | f3df26150883136c72d610f8d799f905a1465abf (patch) | |
tree | 675a15a71504f29265ee40f63ddb7a30e7d12356 /webui.sh | |
parent | 6745e8c5f2b01932a354c4977b4a9eaf488a224b (diff) | |
parent | 066390eb5683945a6e094a817584ada6b1f7118e (diff) | |
download | stable-diffusion-webui-gfx803-f3df26150883136c72d610f8d799f905a1465abf.tar.gz stable-diffusion-webui-gfx803-f3df26150883136c72d610f8d799f905a1465abf.tar.bz2 stable-diffusion-webui-gfx803-f3df26150883136c72d610f8d799f905a1465abf.zip |
Merge pull request #6334 from jchook/exec
Fixes webui.sh to exec LAUNCH_SCRIPT
Diffstat (limited to 'webui.sh')
-rwxr-xr-x | webui.sh | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -160,10 +160,10 @@ then printf "\n%s\n" "${delimiter}" printf "Accelerating launch.py..." printf "\n%s\n" "${delimiter}" - accelerate launch --num_cpu_threads_per_process=6 "${LAUNCH_SCRIPT}" "$@" + exec accelerate launch --num_cpu_threads_per_process=6 "${LAUNCH_SCRIPT}" "$@" else printf "\n%s\n" "${delimiter}" printf "Launching launch.py..." printf "\n%s\n" "${delimiter}" - "${python_cmd}" "${LAUNCH_SCRIPT}" "$@" + exec "${python_cmd}" "${LAUNCH_SCRIPT}" "$@" fi |