Commit 066390eb authored by Wes Roberts's avatar Wes Roberts
Browse files

Fixes webui.sh to exec LAUNCH_SCRIPT

parent 99b67cff
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -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