aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWes Roberts <takq@a.zinc.email>2023-01-04 17:58:16 -0500
committerWes Roberts <takq@a.zinc.email>2023-01-04 17:58:16 -0500
commit066390eb5683945a6e094a817584ada6b1f7118e (patch)
tree573d2ef9aaa444b63852c92b317dfa28b9169be4
parent99b67cff0b48c4a1ad6e14d9cc591b11db6e293c (diff)
Fixes webui.sh to exec LAUNCH_SCRIPT
-rwxr-xr-xwebui.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/webui.sh b/webui.sh
index 04ecbf76..c4d6521d 100755
--- a/webui.sh
+++ b/webui.sh
@@ -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