vslinx commited on
Commit
38de42e
·
1 Parent(s): 9fdbe9b

calling curl argument by path for more compatibility

Browse files
Files changed (1) hide show
  1. windows-nvidia.bat +15 -15
windows-nvidia.bat CHANGED
@@ -24,7 +24,7 @@ if %errorlevel% NEQ 0 (
24
  set /p "PYINSTALL=Your choice [Y/N]: "
25
  if /i "!PYINSTALL!"=="Y" (
26
  echo Downloading Python 3.12...
27
- curl -L -o python-installer.exe https://www.python.org/ftp/python/3.12.3/python-3.12.3-amd64.exe
28
  if not exist python-installer.exe (
29
  echo Failed to download Python installer.
30
  pause
@@ -58,7 +58,7 @@ if not "%PYMAJOR%.%PYMINOR%"=="3.12" (
58
  set /p "PYCHOICE=Choose [Y/N]: "
59
  if /i "!PYCHOICE!"=="Y" (
60
  echo Downloading Python 3.12...
61
- curl -L -o python-installer.exe https://www.python.org/ftp/python/3.12.3/python-3.12.3-amd64.exe
62
  if not exist python-installer.exe (
63
  echo Failed to download Python installer.
64
  pause
@@ -190,7 +190,7 @@ for /L %%i in (0,1,1) do (
190
  echo - !file! already exists. Skipping download.
191
  ) else (
192
  echo ↓ Downloading !file!...
193
- curl -L -o "!path!" "!link!"
194
  )
195
  )
196
 
@@ -212,51 +212,51 @@ if /i "%download_models%"=="Y" (
212
 
213
  REM Download files
214
  echo Downloading VAE...
215
- curl -L -o "%comfyPath%\models\vae\sdxl_vae.safetensors" ^
216
  https://huggingface.co/stabilityai/sdxl-vae/resolve/main/sdxl_vae.safetensors
217
 
218
  echo Downloading Upscale Model...
219
- curl -L -o "%comfyPath%\models\upscale_models\4x_foolhardy_Remacri.pth" ^
220
  https://huggingface.co/FacehugmanIII/4x_foolhardy_Remacri/resolve/main/4x_foolhardy_Remacri.pth
221
 
222
  echo Downloading IPAdapter model...
223
- curl -L -o "%comfyPath%\models\ipadapter\noobIPAMARK1_mark1.safetensors" ^
224
  https://huggingface.co/vslinx/ComfyUIDetailerWorkflow-vslinx/resolve/main/models/IPAdapter/noobIPAMARK1_mark1.safetensors
225
 
226
  echo Downloading CLIP Vision Model...
227
- curl -L -o "%comfyPath%\models\clip_vision\CLIP-ViT-bigG-14-laion2B-39B-b160k.safetensors" ^
228
  https://huggingface.co/XuminYu/example_safetensors/resolve/4b89d7ebd99a9913f0abbec4bf0f54932b11d243/CLIP-ViT-bigG-14-laion2B-39B-b160k.safetensors
229
 
230
  echo Downloading ControlNet Canny Model...
231
- curl -L -o "%comfyPath%\models\controlnet\noobaiXLControlnet_epsCanny.safetensors" ^
232
  https://huggingface.co/Eugeoter/noob-sdxl-controlnet-canny/resolve/main/noob_sdxl_controlnet_canny.safetensors
233
 
234
  echo Downloading ControlNet DepthMidas Model...
235
- curl -L -o "%comfyPath%\models\controlnet\noobaiXLControlnet_epsDepthMidasv1-1.safetensors" ^
236
  https://huggingface.co/Eugeoter/noob-sdxl-controlnet-depth_midas-v1-1/resolve/main/noob-sdxl-controlnet-depth-midas-v1-1.safetensors
237
 
238
  echo Downloading ControlNet Lineart-Anime Model...
239
- curl -L -o "%comfyPath%\models\controlnet\noobaiXLControlnet_epsLineartAnime.safetensors" ^
240
  https://huggingface.co/Eugeoter/noob-sdxl-controlnet-lineart_anime/resolve/main/noob-sdxl-controlnet-lineart_anime.safetensors
241
 
242
  echo Downloading ControlNet Lineart-Realistic Model...
243
- curl -L -o "%comfyPath%\models\controlnet\noobaiXLControlnet_epsLineartRealistic.safetensors" ^
244
  https://huggingface.co/Eugeoter/noob-sdxl-controlnet-lineart_realistic/resolve/main/noob-sdxl-controlnet-lineart_realistic.safetensors
245
 
246
  echo Downloading ControlNet Manga line Model...
247
- curl -L -o "%comfyPath%\models\controlnet\noobaiXLControlnet_epsMangaLine.safetensors" ^
248
  https://huggingface.co/Eugeoter/noob-sdxl-controlnet-manga_line/resolve/main/noob-sdxl-controlnet-manga-line.safetensors
249
 
250
  echo Downloading ControlNet OpenPose Model...
251
- curl -L -o "%comfyPath%\models\controlnet\noobaiXLControlnet_epsOpenPose.safetensors" ^
252
  https://huggingface.co/Laxhar/noob_openpose/resolve/main/openpose_pre.safetensors
253
 
254
  echo Downloading ControlNet Softedge Hed Model...
255
- curl -L -o "%comfyPath%\models\controlnet\noobaiXLControlnet_epsSoftedgeHed.safetensors" ^
256
  https://huggingface.co/Eugeoter/noob-sdxl-controlnet-softedge_hed/resolve/main/noob-sdxl-controlnet-softedge_hed.safetensors
257
 
258
  echo Downloading ControlNet Depth Model...
259
- curl -L -o "%comfyPath%\models\controlnet\noobaiXLControlnet_epsDepth.safetensors" ^
260
  https://huggingface.co/Eugeoter/noob-sdxl-controlnet-depth/resolve/main/noob_sdxl_controlnet_depth.safetensors
261
 
262
  echo All required models have been downloaded.
 
24
  set /p "PYINSTALL=Your choice [Y/N]: "
25
  if /i "!PYINSTALL!"=="Y" (
26
  echo Downloading Python 3.12...
27
+ %SystemRoot%\System32\curl.exe -L -o python-installer.exe https://www.python.org/ftp/python/3.12.3/python-3.12.3-amd64.exe
28
  if not exist python-installer.exe (
29
  echo Failed to download Python installer.
30
  pause
 
58
  set /p "PYCHOICE=Choose [Y/N]: "
59
  if /i "!PYCHOICE!"=="Y" (
60
  echo Downloading Python 3.12...
61
+ %SystemRoot%\System32\curl.exe -L -o python-installer.exe https://www.python.org/ftp/python/3.12.3/python-3.12.3-amd64.exe
62
  if not exist python-installer.exe (
63
  echo Failed to download Python installer.
64
  pause
 
190
  echo - !file! already exists. Skipping download.
191
  ) else (
192
  echo ↓ Downloading !file!...
193
+ %SystemRoot%\System32\curl.exe -L -o "!path!" "!link!"
194
  )
195
  )
196
 
 
212
 
213
  REM Download files
214
  echo Downloading VAE...
215
+ %SystemRoot%\System32\curl.exe -L -o "%comfyPath%\models\vae\sdxl_vae.safetensors" ^
216
  https://huggingface.co/stabilityai/sdxl-vae/resolve/main/sdxl_vae.safetensors
217
 
218
  echo Downloading Upscale Model...
219
+ %SystemRoot%\System32\curl.exe -L -o "%comfyPath%\models\upscale_models\4x_foolhardy_Remacri.pth" ^
220
  https://huggingface.co/FacehugmanIII/4x_foolhardy_Remacri/resolve/main/4x_foolhardy_Remacri.pth
221
 
222
  echo Downloading IPAdapter model...
223
+ %SystemRoot%\System32\curl.exe -L -o "%comfyPath%\models\ipadapter\noobIPAMARK1_mark1.safetensors" ^
224
  https://huggingface.co/vslinx/ComfyUIDetailerWorkflow-vslinx/resolve/main/models/IPAdapter/noobIPAMARK1_mark1.safetensors
225
 
226
  echo Downloading CLIP Vision Model...
227
+ %SystemRoot%\System32\curl.exe -L -o "%comfyPath%\models\clip_vision\CLIP-ViT-bigG-14-laion2B-39B-b160k.safetensors" ^
228
  https://huggingface.co/XuminYu/example_safetensors/resolve/4b89d7ebd99a9913f0abbec4bf0f54932b11d243/CLIP-ViT-bigG-14-laion2B-39B-b160k.safetensors
229
 
230
  echo Downloading ControlNet Canny Model...
231
+ %SystemRoot%\System32\curl.exe -L -o "%comfyPath%\models\controlnet\noobaiXLControlnet_epsCanny.safetensors" ^
232
  https://huggingface.co/Eugeoter/noob-sdxl-controlnet-canny/resolve/main/noob_sdxl_controlnet_canny.safetensors
233
 
234
  echo Downloading ControlNet DepthMidas Model...
235
+ %SystemRoot%\System32\curl.exe -L -o "%comfyPath%\models\controlnet\noobaiXLControlnet_epsDepthMidasv1-1.safetensors" ^
236
  https://huggingface.co/Eugeoter/noob-sdxl-controlnet-depth_midas-v1-1/resolve/main/noob-sdxl-controlnet-depth-midas-v1-1.safetensors
237
 
238
  echo Downloading ControlNet Lineart-Anime Model...
239
+ %SystemRoot%\System32\curl.exe -L -o "%comfyPath%\models\controlnet\noobaiXLControlnet_epsLineartAnime.safetensors" ^
240
  https://huggingface.co/Eugeoter/noob-sdxl-controlnet-lineart_anime/resolve/main/noob-sdxl-controlnet-lineart_anime.safetensors
241
 
242
  echo Downloading ControlNet Lineart-Realistic Model...
243
+ %SystemRoot%\System32\curl.exe -L -o "%comfyPath%\models\controlnet\noobaiXLControlnet_epsLineartRealistic.safetensors" ^
244
  https://huggingface.co/Eugeoter/noob-sdxl-controlnet-lineart_realistic/resolve/main/noob-sdxl-controlnet-lineart_realistic.safetensors
245
 
246
  echo Downloading ControlNet Manga line Model...
247
+ %SystemRoot%\System32\curl.exe -L -o "%comfyPath%\models\controlnet\noobaiXLControlnet_epsMangaLine.safetensors" ^
248
  https://huggingface.co/Eugeoter/noob-sdxl-controlnet-manga_line/resolve/main/noob-sdxl-controlnet-manga-line.safetensors
249
 
250
  echo Downloading ControlNet OpenPose Model...
251
+ %SystemRoot%\System32\curl.exe -L -o "%comfyPath%\models\controlnet\noobaiXLControlnet_epsOpenPose.safetensors" ^
252
  https://huggingface.co/Laxhar/noob_openpose/resolve/main/openpose_pre.safetensors
253
 
254
  echo Downloading ControlNet Softedge Hed Model...
255
+ %SystemRoot%\System32\curl.exe -L -o "%comfyPath%\models\controlnet\noobaiXLControlnet_epsSoftedgeHed.safetensors" ^
256
  https://huggingface.co/Eugeoter/noob-sdxl-controlnet-softedge_hed/resolve/main/noob-sdxl-controlnet-softedge_hed.safetensors
257
 
258
  echo Downloading ControlNet Depth Model...
259
+ %SystemRoot%\System32\curl.exe -L -o "%comfyPath%\models\controlnet\noobaiXLControlnet_epsDepth.safetensors" ^
260
  https://huggingface.co/Eugeoter/noob-sdxl-controlnet-depth/resolve/main/noob_sdxl_controlnet_depth.safetensors
261
 
262
  echo All required models have been downloaded.