diff --git a/scripts/on_env_start.bat b/scripts/on_env_start.bat index 068231ff..16312a5a 100644 --- a/scripts/on_env_start.bat +++ b/scripts/on_env_start.bat @@ -2,6 +2,8 @@ @echo. & echo "Stable Diffusion UI - v2" & echo. +set PATH=C:\Windows\System32;%PATH% + @cd .. if exist "scripts\config.bat" ( diff --git a/scripts/on_sd_start.bat b/scripts/on_sd_start.bat index 1a694da5..b8ef042b 100644 --- a/scripts/on_sd_start.bat +++ b/scripts/on_sd_start.bat @@ -79,6 +79,8 @@ @echo conda_sd_env_created >> ..\scripts\install_status.txt ) +set PATH=C:\Windows\System32;%PATH% + @>nul grep -c "conda_sd_gfpgan_deps_installed" ..\scripts\install_status.txt @if "%ERRORLEVEL%" EQU "0" ( @echo "Packages necessary for GFPGAN (Face Correction) were already installed"