aboutsummaryrefslogtreecommitdiff
path: root/webui.sh
diff options
context:
space:
mode:
authororionaskatu <100234619+orionaskatu@users.noreply.github.com>2022-09-14 09:31:39 +0200
committerAUTOMATIC1111 <16777216c@gmail.com>2022-09-14 10:45:25 +0300
commita0e819de90da4f93e7e1d8216dd9373a90851fd8 (patch)
tree6af5a710425dbefd903202e317237bbf69aa6c09 /webui.sh
parentd62fbcc5aa9381ea416f5997f291190c1e74bf29 (diff)
remove model files check
Diffstat (limited to 'webui.sh')
-rw-r--r--webui.sh21
1 files changed, 0 insertions, 21 deletions
diff --git a/webui.sh b/webui.sh
index cc4b81f7..0f9fdbef 100644
--- a/webui.sh
+++ b/webui.sh
@@ -134,27 +134,6 @@ else
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}"
"${python_cmd}" launch.py