mirror of
https://git.datalinker.icu/kijai/ComfyUI-CogVideoXWrapper.git
synced 2025-12-09 12:54:22 +08:00
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.
This commit is contained in:
parent
05413b6cfe
commit
fb5c22292e
16
install-portable.bat
Normal file
16
install-portable.bat
Normal file
@ -0,0 +1,16 @@
|
||||
@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
|
||||
15
setup-onediff.bat
Normal file
15
setup-onediff.bat
Normal file
@ -0,0 +1,15 @@
|
||||
@echo off
|
||||
|
||||
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 --pre onediff onediffx && pip install nexfort"
|
||||
) else (
|
||||
echo Installing with system Python
|
||||
pip install --pre onediff onediffx && pip install nexfort"
|
||||
)
|
||||
|
||||
pause
|
||||
Loading…
x
Reference in New Issue
Block a user