Upload update.bat
Browse files- 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;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 %target_dir%ComfyUI/requirements.txt pygit2
|