UmeAiRT commited on
Commit
3d386bb
·
verified ·
1 Parent(s): 1854903

Delete UmeAiRT-WAN2.1-Missing_nodes.bat

Browse files
Files changed (1) hide show
  1. UmeAiRT-WAN2.1-Missing_nodes.bat +0 -153
UmeAiRT-WAN2.1-Missing_nodes.bat DELETED
@@ -1,153 +0,0 @@
1
- @echo off
2
- setlocal enabledelayedexpansion
3
-
4
- set "basePath=%CD%"
5
- set "comfyPath=%basePath%\ComfyUI"
6
- set "pythonPath=%basePath%\python_embeded"
7
- set "customNodesPath=%comfyPath%\custom_nodes"
8
-
9
- if not exist "%basePath%\logs" mkdir "%basePath%\logs"
10
-
11
- :check_folder
12
- if exist "%basePath%\ComfyUI" (
13
- echo ComfyUI folder detected
14
- set "comfyPath=%basePath%\ComfyUI"
15
- if exist "%basePath%\python_embeded" (
16
- echo Python folder detected
17
- set "pythonPath=%basePath%\python_embeded"
18
- ) else (
19
- echo Python folder not detected, give Python folder path :
20
- pause
21
- )
22
- ) else if exist "%basePath%\ComfyUI_windows_portable" (
23
- set "comfyPath=%basePath%\ComfyUI_windows_portable\ComfyUI"
24
- set "pythonPath=%basePath%\ComfyUI_windows_portable\python_embeded"
25
- echo ComfyUI folder detected
26
- ) else (
27
- echo ComfyUI folder not detected, give ComfyUi folder path :
28
- set /p "comfyPath=Path: "
29
- echo Python folder not detected, give Python folder path :
30
- set /p "pythonPath=Path: "
31
- )
32
-
33
- set "customNodesPath=%comfyPath%\custom_nodes"
34
-
35
- echo Update ComfyUI
36
- if exist "%basePath%\update" (
37
- "%pythonPath%\python.exe" -m pip install --upgrade pip >> "%basePath%\logs\Missing_nodes.txt" 2>&1
38
- "%pythonPath%\python.exe" "%basePath%\update\update.py" "%basePath%\ComfyUI" >> "%basePath%\logs\Missing_nodes.txt" 2>&1
39
- if exist update_new.py (
40
- move /y update_new.py update.py
41
- echo Running updater again since it got updated.
42
- "%pythonPath%\python.exe" "%basePath%\update\update.py" "%basePath%\ComfyUI" --skip_self_update >> "%basePath%\logs\Missing_nodes.txt" 2>&1
43
- )
44
- ) else if exist "%basePath%\ComfyUI_windows_portable\update" (
45
- "%pythonPath%\python.exe" -m pip install --upgrade pip >> "%basePath%\logs\Missing_nodes.txt" 2>&1
46
- "%pythonPath%\python.exe" "%basePath%\ComfyUI_windows_portable\update\update.py" "%comfyPath%" >> "%basePath%\logs\Missing_nodes.txt" 2>&1
47
- if exist update_new.py (
48
- move /y update_new.py update.py
49
- echo Running updater again since it got updated.
50
- "%pythonPath%\python.exe" "%basePath%\ComfyUI_windows_portable\update\update.py" "%comfyPath%" --skip_self_update >> "%basePath%\logs\Missing_nodes.txt" 2>&1
51
- )
52
- ) else (
53
- git --git-dir="%comfyPath%" --work-tree="%comfyPath%" pull >> "%basePath%\logs\Missing_nodes.txt" 2>&1
54
- "%pythonPath%\python.exe" -s -m pip install -r "%comfyPath%/requirements.txt" --no-warn-script-location >> "%basePath%\logs\Missing_nodes.txt" 2>&1
55
- )
56
-
57
- :CHOOSE_CLEAN
58
- REM Ask user if they want to download FLUX SCHNELL Model
59
- echo Do you want to do a clean install? (all currently present custom nodes are deleted)
60
- echo A) Yes
61
- echo B) No
62
- set /p "CHOOSE_CLEAN=Enter your choice (A or B) and press Enter: "
63
-
64
- if /i "%CHOOSE_CLEAN%"=="A" (
65
- del /s /q "%customNodesPath%\*.*" >> "%basePath%\logs\Missing_nodes.txt" 2>&1
66
- for /d %%i in ("%customNodesPath%\*") do rmdir /s /q "%%i" >> "%basePath%\logs\Missing_nodes.txt" 2>&1
67
- ) else if /i "%CHOOSE_CLEAN%"=="B" (
68
- set "CHOOSE_CLEANL=no"
69
- ) else (
70
- echo Invalid choice. Please enter A or B.
71
- goto CHOOSE_CLEAN
72
- )
73
-
74
- REM Clone ComfyUI-Manager
75
- echo Installing ComfyUI-Manager...
76
- git clone https://github.com/ltdrdata/ComfyUI-Manager.git "%customNodesPath%/ComfyUI-Manager" >> "%basePath%\logs\Missing_nodes.txt" 2>&1
77
-
78
- echo Installing additional nodes...
79
-
80
- echo - Impact-Pack
81
- git clone https://github.com/ltdrdata/ComfyUI-Impact-Pack "%customNodesPath%/ComfyUI-Impact-Pack" >> "%basePath%\logs\Missing_nodes.txt" 2>&1
82
- "%pythonPath%\python.exe" -s -m pip install -r "%customNodesPath%/ComfyUI-Impact-Pack/requirements.txt" --no-warn-script-location >> "%basePath%\logs\Missing_nodes.txt" 2>&1
83
- git clone https://github.com/ltdrdata/ComfyUI-Impact-Subpack "%customNodesPath%/ComfyUI-Impact-Pack/impact_subpack" >> "%basePath%\logs\Missing_nodes.txt" 2>&1
84
- "%pythonPath%\python.exe" -s -m pip install -r "%customNodesPath%/ComfyUI-Impact-Pack/impact_subpack/requirements.txt" --no-warn-script-location >> "%basePath%\logs\Missing_nodes.txt" 2>&1
85
- "%pythonPath%\python.exe" -s -m pip install ultralytics --no-warn-script-location >> "%basePath%\logs\Missing_nodes.txt" 2>&1
86
-
87
- echo - GGUF
88
- git clone https://github.com/city96/ComfyUI-GGUF "%customNodesPath%/ComfyUI-GGUF" >> "%basePath%\logs\Missing_nodes.txt" 2>&1
89
- "%pythonPath%\python.exe" -s -m pip install -r "%customNodesPath%/ComfyUI-GGUF/requirements.txt" --no-warn-script-location >> "%basePath%\logs\Missing_nodes.txt" 2>&1
90
-
91
- echo - mxToolkit
92
- git clone https://github.com/Smirnov75/ComfyUI-mxToolkit "%customNodesPath%/ComfyUI-mxToolkit" >> "%basePath%\logs\Missing_nodes.txt" 2>&1
93
-
94
- echo - Custom-Scripts
95
- git clone https://github.com/pythongosssss/ComfyUI-Custom-Scripts "%customNodesPath%/ComfyUI-Custom-Scripts" >> "%basePath%\logs\Missing_nodes.txt" 2>&1
96
-
97
- echo - KJNodes
98
- git clone https://github.com/kijai/ComfyUI-KJNodes "%customNodesPath%/ComfyUI-KJNodes" >> "%basePath%\logs\Missing_nodes.txt" 2>&1
99
- "%pythonPath%\python.exe" -s -m pip install -r "%customNodesPath%/ComfyUI-KJNodes/requirements.txt" --no-warn-script-location >> "%basePath%\logs\Missing_nodes.txt" 2>&1
100
-
101
- echo - VideoHelperSuite
102
- git clone https://github.com/Kosinkadink/ComfyUI-VideoHelperSuite "%customNodesPath%/ComfyUI-VideoHelperSuite" >> "%basePath%\logs\Missing_nodes.txt" 2>&1
103
- "%pythonPath%\python.exe" -s -m pip install -r "%customNodesPath%/ComfyUI-VideoHelperSuite/requirements.txt" --no-warn-script-location >> "%basePath%\logs\Missing_nodes.txt" 2>&1
104
-
105
- echo - Frame-Interpolation
106
- git clone https://github.com/Fannovel16/ComfyUI-Frame-Interpolation "%customNodesPath%/ComfyUI-Frame-Interpolation" >> "%basePath%\logs\Missing_nodes.txt" 2>&1
107
- "%pythonPath%\python.exe" -s -m pip install -r "%customNodesPath%/ComfyUI-Frame-Interpolation/requirements-with-cupy.txt" --no-warn-script-location >> "%basePath%\logs\Missing_nodes.txt" 2>&1
108
-
109
- echo - rgthree
110
- git clone https://github.com/rgthree/rgthree-comfy "%customNodesPath%/rgthree-comfy" >> "%basePath%\logs\Missing_nodes.txt" 2>&1
111
- "%pythonPath%\python.exe" -s -m pip install -r "%customNodesPath%/rgthree-comfy/requirements.txt" --no-warn-script-location >> "%basePath%\logs\Missing_nodes.txt" 2>&1
112
-
113
- echo - Easy-Use
114
- git clone https://github.com/yolain/ComfyUI-Easy-Use "%customNodesPath%/ComfyUI-Easy-Use" >> "%basePath%\logs\Missing_nodes.txt" 2>&1
115
- "%pythonPath%\python.exe" -s -m pip install -r "%customNodesPath%/ComfyUI-Easy-Use/requirements.txt" --no-warn-script-location >> "%basePath%\logs\Missing_nodes.txt" 2>&1
116
-
117
- echo - PuLID_Flux_ll
118
- git clone https://github.com/lldacing/ComfyUI_PuLID_Flux_ll "%customNodesPath%/ComfyUI_PuLID_Flux_ll" >> "%basePath%\logs\Missing_nodes.txt" 2>&1
119
- "%pythonPath%\python.exe" -s -m pip install -r "%customNodesPath%/ComfyUI_PuLID_Flux_ll/requirements.txt" --no-warn-script-location >> "%basePath%\logs\Missing_nodes.txt" 2>&1
120
- curl -L -o "%pythonPath%\insightface-0.7.3-cp310-cp310-win_amd64.whl" https://huggingface.co/UmeAiRT/ComfyUI-Auto_installer/resolve/main/others/insightface-0.7.3-cp310-cp310-win_amd64.whl?download=true >> "%basePath%\logs\Missing_nodes.txt" 2>&1
121
- curl -L -o "%pythonPath%\insightface-0.7.3-cp311-cp311-win_amd64.whl" https://huggingface.co/UmeAiRT/ComfyUI-Auto_installer/resolve/main/others/insightface-0.7.3-cp311-cp311-win_amd64.whl?download=true >> "%basePath%\logs\Missing_nodes.txt" 2>&1
122
- curl -L -o "%pythonPath%\insightface-0.7.3-cp312-cp312-win_amd64.whl" https://huggingface.co/UmeAiRT/ComfyUI-Auto_installer/resolve/main/others/insightface-0.7.3-cp312-cp312-win_amd64.whl?download=true >> "%basePath%\logs\Missing_nodes.txt" 2>&1
123
- "%pythonPath%\python.exe" -m pip install --use-pep517 facexlib >> "%basePath%\logs\Missing_nodes.txt" 2>&1
124
- "%pythonPath%\python.exe" -m pip install git+https://github.com/rodjjo/filterpy.git >> "%basePath%\logs\Missing_nodes.txt" 2>&1
125
- "%pythonPath%\python.exe" -m pip install onnxruntime==1.19.2 onnxruntime-gpu==1.15.1 "%pythonPath%\insightface-0.7.3-cp310-cp310-win_amd64.whl" >> "%basePath%\logs\Missing_nodes.txt" 2>&1
126
- "%pythonPath%\python.exe" -m pip install onnxruntime==1.19.2 onnxruntime-gpu==1.15.1 "%pythonPath%\insightface-0.7.3-cp311-cp311-win_amd64.whl" >> "%basePath%\logs\Missing_nodes.txt" 2>&1
127
- "%pythonPath%\python.exe" -m pip install onnxruntime==1.19.2 onnxruntime-gpu==1.17.1 "%pythonPath%\insightface-0.7.3-cp312-cp312-win_amd64.whl" >> "%basePath%\logs\Missing_nodes.txt" 2>&1
128
-
129
- echo - HunyuanVideoMultiLora
130
- git clone https://github.com/facok/ComfyUI-HunyuanVideoMultiLora "%customNodesPath%/ComfyUI-HunyuanVideoMultiLora" >> "%basePath%\logs\Missing_nodes.txt" 2>&1
131
-
132
- echo - was-node-suite-comfyui
133
- git clone https://github.com/WASasquatch/was-node-suite-comfyui "%customNodesPath%/was-node-suite-comfyui" >> "%basePath%\logs\Missing_nodes.txt" 2>&1
134
- "%pythonPath%\python.exe" -s -m pip install -r "%customNodesPath%/was-node-suite-comfyui/requirements.txt" --no-warn-script-location >> "%basePath%\logs\Missing_nodes.txt" 2>&1
135
-
136
- echo - Florence2
137
- git clone https://github.com/kijai/ComfyUI-Florence2 "%customNodesPath%/ComfyUI-Florence2">> "%basePath%\logs\Missing_nodes.txt" 2>&1
138
- "%pythonPath%\python.exe" -m pip install transformers==4.49.0 --upgrade >> "%basePath%\logs\Missing_nodes.txt" 2>&1
139
- "%pythonPath%\python.exe" -s -m pip install -r "%customNodesPath%/ComfyUI-Florence2/requirements.txt" --no-warn-script-location >> "%basePath%\logs\Missing_nodes.txt" 2>&1
140
-
141
- echo - Upscaler-Tensorrt
142
- git clone https://github.com/yuvraj108c/ComfyUI-Upscaler-Tensorrt "%customNodesPath%/ComfyUI-Upscaler-Tensorrt" >> "%basePath%\logs\Missing_nodes.txt" 2>&1
143
- "%pythonPath%\python.exe" -s -m pip install wheel-stub >> "%basePath%\logs\Missing_nodes.txt" 2>&1
144
- "%pythonPath%\python.exe" -s -m pip install -r "%customNodesPath%/ComfyUI-Upscaler-Tensorrt/requirements.txt" --no-warn-script-location >> "%basePath%\logs\Missing_nodes.txt" 2>&1
145
-
146
- echo - MultiGPU
147
- git clone https://github.com/pollockjj/ComfyUI-MultiGPU "%customNodesPath%/ComfyUI-MultiGPU" >> "%basePath%\logs\Missing_nodes.txt" 2>&1
148
-
149
- echo - WanStartEndFramesNative
150
- git clone https://github.com/Flow-two/ComfyUI-WanStartEndFramesNative "%customNodesPath%/ComfyUI-WanStartEndFramesNative" >> "%installPath%\logs\install.txt" 2>&1
151
-
152
- echo Installation complete
153
- pause