Set the PYTHONPATH explicitly for the conda env

This commit is contained in:
cmdr2 2022-09-12 23:06:51 +05:30
parent ba26f22f53
commit 4444525c01

View File

@ -278,6 +278,13 @@ call WHERE uvicorn > .tmp
@echo. & echo "Stable Diffusion is ready!" & echo.
@set SD_DIR=%cd%
@cd env\lib\site-packages
@set PYTHONPATH=%SD_DIR%;%cd%
@cd ..\..\..
@echo PYTHONPATH=%PYTHONPATH%
@cd ..
@set SD_UI_PATH=%cd%\ui
@cd stable-diffusion