Download COMFYUI_DIFFUSION_PIPE.bat from TianDongL/DiffusionPipeInComfyUI_Win: direct link, hf CLI and curl.
- Browser
- Download file 755 Bytes
-
https://huggingface.co/TianDongL/DiffusionPipeInComfyUI_Win/resolve/main/COMFYUI_DIFFUSION_PIPE.bat
- Command line
-
hf download hf://TianDongL/DiffusionPipeInComfyUI_Win/COMFYUI_DIFFUSION_PIPE.bat
-
curl -L -o COMFYUI_DIFFUSION_PIPE.bat https://huggingface.co/TianDongL/DiffusionPipeInComfyUI_Win/resolve/main/COMFYUI_DIFFUSION_PIPE.bat
755 Bytes
| @echo off | |
| chcp 65001 > nul | |
| :: 进入 ComfyUI 的根目录 | |
| cd /d "%COMFYUI_ROOT_PATH%" | |
| set "PROJECT_FOLDER=ComfyUI\custom_nodes\Diffusion_pipe_in_ComfyUI_Win" | |
| set "INIT_FILE=%PROJECT_FOLDER%\__init__.py" | |
| set "DISABLED_INIT_FILE=%PROJECT_FOLDER%\__init__.py.disabled" | |
| echo [Dev Env] 正在准备开发环境... | |
| :: 检查 __init__.py 是否被禁用了,如果是,就恢复它 | |
| if exist "%DISABLED_INIT_FILE%" ( | |
| echo [Dev Env] 正在启用开发中节点的 __init__.py... | |
| ren "%DISABLED_INIT_FILE%" "__init__.py" | |
| ) | |
| echo [Dev Env] 正在启动 ComfyUI (开发模式)... | |
| .\python_embeded_DP\python.exe -s ComfyUI\main.py --windows-standalone-build --reserve-vram 0 --port 8760 | |
| echo [Dev Env] ComfyUI 已关闭。 | |
| pause |