TianDongL commited on
Commit
fc6c031
·
verified ·
1 Parent(s): dc3283d

Upload COMFYUI_DIFFUSION_PIPE.bat

Browse files

Place this batch file in the ComfyUIw_windows_portable directory, and then you can start your Comfyui and train the model in it

Files changed (1) hide show
  1. COMFYUI_DIFFUSION_PIPE.bat +24 -0
COMFYUI_DIFFUSION_PIPE.bat ADDED
@@ -0,0 +1,24 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ @echo off
2
+ chcp 65001 > nul
3
+
4
+ :: 进入 ComfyUI 的根目录
5
+ cd /d "%COMFYUI_ROOT_PATH%"
6
+
7
+ set "PROJECT_FOLDER=ComfyUI\custom_nodes\Diffusion_pipe_in_ComfyUI_Win"
8
+ set "INIT_FILE=%PROJECT_FOLDER%\__init__.py"
9
+ set "DISABLED_INIT_FILE=%PROJECT_FOLDER%\__init__.py.disabled"
10
+
11
+ echo [Dev Env] 正在准备开发环境...
12
+
13
+ :: 检查 __init__.py 是否被禁用了,如果是,就恢复它
14
+ if exist "%DISABLED_INIT_FILE%" (
15
+ echo [Dev Env] 正在启用开发中节点的 __init__.py...
16
+ ren "%DISABLED_INIT_FILE%" "__init__.py"
17
+ )
18
+
19
+ echo [Dev Env] 正在启动 ComfyUI (开发模式)...
20
+
21
+ .\python_embeded_DP\python.exe -s ComfyUI\main.py --windows-standalone-build --reserve-vram 0 --port 8760
22
+
23
+ echo [Dev Env] ComfyUI 已关闭。
24
+ pause