mirror of
https://git.datalinker.icu/kijai/ComfyUI-CogVideoXWrapper.git
synced 2025-12-08 20:34:23 +08:00
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.
16 lines
378 B
Batchfile
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 |