ComfyUI-CogVideoXWrapper/install-portable.bat
Tom fb5c22292e
added batch files for comfyUI portable users
install-portable.bat - installs the requirements.txt for ComfyUI portable users (embedded python)

setup-onediff.bat - installs the recommended extras for ComfyUI Portable users (embedded python)

It can be easy to install to system python by accident when running the the Portable version of ComfyUI, so i use these to help make life easier.
2024-09-08 19:35:02 +01:00

16 lines
378 B
Batchfile

@echo off
set "requirements_txt=%~dp0\requirements.txt"
set "python_exec=..\..\..\python_embeded\python.exe"
echo Installing node...
if exist "%python_exec%" (
echo Installing with ComfyUI Portable
"%python_exec%" -s -m pip install -r "%requirements_txt%"
) else (
echo Installing with system Python
pip install -r "%requirements_txt%"
)
pause