happyneishon commited on
Commit
b500bd5
1 Parent(s): 32df704

Upload update.bat

Browse files
Files changed (1) hide show
  1. update.bat +8 -0
update.bat ADDED
@@ -0,0 +1,8 @@
 
 
 
 
 
 
 
 
 
1
+ @echo off
2
+ setlocal
3
+ echo cd /d %~dp0
4
+ set target_dir=%~dp0
5
+ set custom_n=%target_dir%ComfyUI\custom_nodes
6
+ set PATH=%PATH%;%target_dir%git\git\bin;%target_dir%git\git\libexec\;
7
+ cd %custom_n% && %target_dir%git\git\bin\git pull
8
+ %target_dir%python\python.exe -s -m pip install --upgrade torch torchvision torchaudio --extra-index-url https://download.pytorch.org/whl/cu121 -r ../ComfyUI/requirements.txt pygit2