From c67b80eca33c8ca8473a74a9f2e0a7cf0173e31b Mon Sep 17 00:00:00 2001 From: nullquant Date: Fri, 12 Apr 2024 09:11:04 +0300 Subject: [PATCH] base model path error --- .gitignore | 4 ++++ brushnet_nodes.py | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) create mode 100755 .gitignore diff --git a/.gitignore b/.gitignore new file mode 100755 index 0000000..2082768 --- /dev/null +++ b/.gitignore @@ -0,0 +1,4 @@ +__pycache__/ +.vscode/ +*.tmp +*.dblite diff --git a/brushnet_nodes.py b/brushnet_nodes.py index ad6c4b6..655202a 100644 --- a/brushnet_nodes.py +++ b/brushnet_nodes.py @@ -55,7 +55,7 @@ class BrushNetPipeline: FUNCTION = "pipeline_loading" def pipeline_loading(self, model, brushnet): - model_path = "./models/checkpoints/"+model + model_path = folder_paths.get_full_path("checkpoints", model) print("Model... ", end="") pipe = StableDiffusionBrushNetPipeline.from_single_file( model_path,