Skip to content

Commit

Permalink
feat: auto stop in test_mode
Browse files Browse the repository at this point in the history
  • Loading branch information
wy-luke committed Sep 5, 2023
1 parent 37416b1 commit 77e7987
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions sd-installer.sh
Original file line number Diff line number Diff line change
Expand Up @@ -267,9 +267,7 @@ echo "############ 开始安装 Stable Diffusion ################"
echo "############ Start to install Stable Diffusion ######"

if "$test_mode" != 0; then
if ./webui.sh | grep -q 'Launching Web UI with arguments: '; then
exit
fi
./webui.sh | grep -q 'Launching Web UI with arguments:' && echo_green "成功 Success" && exit
else
./webui.sh
clean_up
Expand Down

0 comments on commit 77e7987

Please sign in to comment.