happyneishon
commited on
Commit
•
4bb398c
1
Parent(s):
b500bd5
Upload packages.bat
Browse files- packages.bat +9 -0
packages.bat
ADDED
@@ -0,0 +1,9 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
@echo off
|
2 |
+
setlocal
|
3 |
+
cd /d %~dp0
|
4 |
+
set target_dir=%~dp0
|
5 |
+
chcp 65001 > nul
|
6 |
+
set custom_n=%target_dir%ComfyUI\custom_nodes
|
7 |
+
set py=%target_dir%python\
|
8 |
+
%py%python -m pip install torch torchvision torchaudio --index-url https://download.pytorch.org/whl/cu121
|
9 |
+
%py%python -m pip install -r %target_dir%ComfyUI\requirements.txt
|