(project_folder_path, launcher_json=None)
| 158 | |
| 159 | |
| 160 | def install_default_custom_nodes(project_folder_path, launcher_json=None): |
| 161 | # install default custom nodes |
| 162 | # comfyui-manager |
| 163 | run_command(["git", "clone", f"https://github.com/ltdrdata/ComfyUI-Manager", os.path.join(project_folder_path, 'comfyui', 'custom_nodes', 'ComfyUI-Manager')]) |
| 164 | |
| 165 | # pip install comfyui-manager |
| 166 | run_command_in_project_venv( |
| 167 | project_folder_path, |
| 168 | f"pip install -r {os.path.join(project_folder_path, 'comfyui', 'custom_nodes', 'ComfyUI-Manager', 'requirements.txt')}", |
| 169 | ) |
| 170 | |
| 171 | run_command(["git", "clone", f"https://github.com/thecooltechguy/ComfyUI-ComfyWorkflows", os.path.join(project_folder_path, 'comfyui', 'custom_nodes', 'ComfyUI-ComfyWorkflows')]) |
| 172 | |
| 173 | # pip install comfyui-comfyworkflows |
| 174 | run_command_in_project_venv( |
| 175 | project_folder_path, |
| 176 | f"pip install -r {os.path.join(project_folder_path, 'comfyui', 'custom_nodes', 'ComfyUI-ComfyWorkflows', 'requirements.txt')}", |
| 177 | ) |
| 178 | |
| 179 | def setup_initial_models_folder(models_folder_path): |
| 180 | assert not os.path.exists( |
no test coverage detected