easydiffusion/scripts/Developer Console.cmd

25 lines
661 B
Batchfile

@echo off
echo "Opening Stable Diffusion UI - Developer Console.." & echo.
set PATH=C:\Windows\System32;%PATH%
@rem set legacy and new installer's PATH, if they exist
if exist "installer" set PATH=%cd%\installer;%cd%\installer\Library\bin;%cd%\installer\Scripts;%PATH%
if exist "installer_files\env" set PATH=%cd%\installer_files\env;%cd%\installer_files\env\Library\bin;%cd%\installer_files\env\Scripts;%PATH%
@rem Test the environment
echo "Environment Info:"
call where git
call git --version
call where python
call python --version
call where conda
call conda --version
@rem activate the environment
call conda activate .\stable-diffusion\env
cmd /k