Commit a0e819de authored by orionaskatu's avatar orionaskatu Committed by AUTOMATIC1111

remove model files check

parent d62fbcc5
...@@ -133,27 +133,6 @@ else ...@@ -133,27 +133,6 @@ else
exit 1 exit 1
fi 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 "\n%s\n" "${delimiter}"
printf "Launching launch.py..." printf "Launching launch.py..."
printf "\n%s\n" "${delimiter}" printf "\n%s\n" "${delimiter}"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment