Spaces:
Running
on
Zero
Running
on
Zero
@echo off | |
set "requirements_txt=%~dp0\requirements.txt" | |
set "python_exec=..\..\..\python_embeded\python.exe" | |
echo Installing ComfyUI's ControlNet Auxiliary Preprocessors.. | |
if exist "%python_exec%" ( | |
echo Installing with ComfyUI Portable | |
for /f "delims=" %%i in (%requirements_txt%) do ( | |
%python_exec% -s -m pip install "%%i" | |
) | |
) else ( | |
echo Installing with system Python | |
for /f "delims=" %%i in (%requirements_txt%) do ( | |
pip install "%%i" | |
) | |
) | |
pause |