From a0e819de90da4f93e7e1d8216dd9373a90851fd8 Mon Sep 17 00:00:00 2001 From: orionaskatu <100234619+orionaskatu@users.noreply.github.com> Date: Wed, 14 Sep 2022 09:31:39 +0200 Subject: [PATCH] remove model files check --- webui.sh | 21 --------------------- 1 file changed, 21 deletions(-) diff --git a/webui.sh b/webui.sh index cc4b81f7..0f9fdbef 100644 --- a/webui.sh +++ b/webui.sh @@ -133,27 +133,6 @@ else exit 1 fi -printf "\n%s\n" "${delimiter}" -printf "Check if models are present" -printf "\n%s\n" "${delimiter}" -for model in GFPGANv1.3.pth model.ckpt -do - if [[ ! -f "${model}" ]] - then - printf "\n%s\n" "${delimiter}" - printf "\e[1m\e[33mWarning:\e[0m %s file not found..." "${model}" - printf "\n%s\n" "${delimiter}" - if [[ "${model}" == "model.ckpt" ]] && [[ -n "${first_launch}" ]] - then - printf "\n%s\n" "${delimiter}" - printf "Place \e[1m\e[32m%s\e[0m into webui directory, next to \e[1m\e[32mwebui.py\e[0m\n" "${model}" - printf "Then press a key to continue...\n" - read -rsn 1 - printf "\n%s\n" "${delimiter}" - fi - fi -done - printf "\n%s\n" "${delimiter}" printf "Launching launch.py..." printf "\n%s\n" "${delimiter}"