2022-10-06 07:07:41 +02:00
|
|
|
@echo off
|
|
|
|
|
|
|
|
echo "Opening Stable Diffusion UI - Developer Console.." & echo.
|
|
|
|
|
2022-10-22 19:54:13 +02:00
|
|
|
set PATH=C:\Windows\System32;%PATH%
|
2022-10-06 07:07:41 +02:00
|
|
|
|
2022-10-22 19:54:13 +02:00
|
|
|
@rem set legacy and new installer's PATH, if they exist
|
2022-10-23 06:53:43 +02:00
|
|
|
if exist "installer" set PATH=%cd%\installer;%cd%\installer\Library\bin;%cd%\installer\Scripts;%cd%\installer\Library\usr\bin;%PATH%
|
|
|
|
if exist "installer_files\env" set PATH=%cd%\installer_files\env;%cd%\installer_files\env\Library\bin;%cd%\installer_files\env\Scripts;%cd%\installer_files\Library\usr\bin;%PATH%
|
2022-10-06 07:07:41 +02:00
|
|
|
|
2022-11-11 07:07:15 +01:00
|
|
|
set PYTHONPATH=%cd%\installer;%cd%\installer_files\env
|
|
|
|
|
2022-10-25 16:56:46 +02:00
|
|
|
@rem activate the installer env
|
|
|
|
call conda activate
|
|
|
|
|
2022-10-22 19:54:13 +02:00
|
|
|
@rem Test the environment
|
|
|
|
echo "Environment Info:"
|
|
|
|
call where git
|
|
|
|
call git --version
|
2022-10-06 07:07:41 +02:00
|
|
|
|
2022-10-22 19:54:13 +02:00
|
|
|
call where conda
|
|
|
|
call conda --version
|
|
|
|
|
2022-10-22 19:58:43 +02:00
|
|
|
echo.
|
|
|
|
|
2022-10-22 19:54:13 +02:00
|
|
|
@rem activate the environment
|
|
|
|
call conda activate .\stable-diffusion\env
|
2022-10-06 07:07:41 +02:00
|
|
|
|
2022-10-26 12:30:21 +02:00
|
|
|
call where python
|
|
|
|
call python --version
|
|
|
|
|
|
|
|
echo.
|
|
|
|
|
2022-10-23 06:53:43 +02:00
|
|
|
cmd /k
|