From b5c2c1009cd24ebba54e124cfad4fe45a03bd9f1 Mon Sep 17 00:00:00 2001 From: cmdr2 Date: Sat, 8 Oct 2022 22:37:44 +0530 Subject: [PATCH] Revert "Disable the uvicorn check, seems to be failing incorrectly for some reason" This reverts commit e30aca7531ccf3c92f92d4166b476c2e5e94acb6. --- scripts/on_sd_start.bat | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/scripts/on_sd_start.bat b/scripts/on_sd_start.bat index af2dc406..e061502d 100644 --- a/scripts/on_sd_start.bat +++ b/scripts/on_sd_start.bat @@ -154,13 +154,13 @@ set PATH=C:\Windows\System32;%PATH% ) ) -@REM call WHERE uvicorn > .tmp -@REM @>nul grep -c "uvicorn" .tmp -@REM @if "%ERRORLEVEL%" NEQ "0" ( -@REM @echo. & echo "UI packages not found! Sorry about that, please try to:" & echo " 1. Run this installer again." & echo " 2. If that doesn't fix it, please try the common troubleshooting steps at https://github.com/cmdr2/stable-diffusion-ui/blob/main/Troubleshooting.md" & echo " 3. If those steps don't help, please copy *all* the error messages in this window, and ask the community at https://discord.com/invite/u9yhsFmEkB" & echo " 4. If that doesn't solve the problem, please file an issue at https://github.com/cmdr2/stable-diffusion-ui/issues" & echo "Thanks!" & echo. -@REM pause -@REM exit /b -@REM ) +call WHERE uvicorn > .tmp +@>nul grep -c "uvicorn" .tmp +@if "%ERRORLEVEL%" NEQ "0" ( + @echo. & echo "UI packages not found! Sorry about that, please try to:" & echo " 1. Run this installer again." & echo " 2. If that doesn't fix it, please try the common troubleshooting steps at https://github.com/cmdr2/stable-diffusion-ui/blob/main/Troubleshooting.md" & echo " 3. If those steps don't help, please copy *all* the error messages in this window, and ask the community at https://discord.com/invite/u9yhsFmEkB" & echo " 4. If that doesn't solve the problem, please file an issue at https://github.com/cmdr2/stable-diffusion-ui/issues" & echo "Thanks!" & echo. + pause + exit /b +) @>nul grep -c "conda_sd_ui_deps_installed" ..\scripts\install_status.txt @if "%ERRORLEVEL%" NEQ "0" (