Merge fb5c22292e6302678f140f67e25f05d83dc33902 into dbc63f622dd095391335612d0c7d7bbff8745cc8

This commit is contained in:
Tom 2025-01-30 12:11:23 +08:00 committed by GitHub
commit 23193a4f5a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 31 additions and 0 deletions

16
install-portable.bat Normal file
View 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
View 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