This commit is contained in:
justumen
2025-03-25 07:53:59 +01:00
parent fbf037f66d
commit 6400396e8c
2 changed files with 4 additions and 2 deletions

View File

@@ -199,7 +199,6 @@ def download_file(url, destination_path, model_name, api_token=None):
# Set up main checkpoint directory
_, civitai_base_path, parsed_models_path = get_civitai_base_paths()
bjornulf_checkpoint_path = Path(folder_paths.models_dir) / "checkpoints" / "Bjornulf_civitAI"
bjornulf_checkpoint_path.mkdir(parents=True, exist_ok=True)
# Register the main checkpoint folder
checkpoint_folders = list(folder_paths.folder_names_and_paths["checkpoints"])
@@ -781,6 +780,7 @@ class CivitAIModelSelectorSDXL:
CATEGORY = "Bjornulf"
def load_model(self, image, civitai_token):
create_bjornulf_checkpoint_folder()
if image == "none":
raise ValueError("No image selected")
@@ -883,6 +883,7 @@ class CivitAIModelSelectorFLUX_D:
CATEGORY = "Bjornulf"
def load_model(self, image, civitai_token):
create_bjornulf_checkpoint_folder()
if image == "none":
raise ValueError("No image selected")
@@ -984,6 +985,7 @@ class CivitAIModelSelectorFLUX_S:
CATEGORY = "Bjornulf"
def load_model(self, image, civitai_token):
create_bjornulf_checkpoint_folder()
if image == "none":
raise ValueError("No image selected")
@@ -1085,6 +1087,7 @@ class CivitAIModelSelectorPony:
CATEGORY = "Bjornulf"
def load_model(self, image, civitai_token):
create_bjornulf_checkpoint_folder()
if image == "none":
raise ValueError("No image selected")

View File

@@ -463,7 +463,6 @@ Fix preview image node for the new comfyui layout.
Rewrite of FFMPEG nodes, COnfiguration and Video preview.
Many other bug fixes and improvements on many nodes, thx for the reports.
- **0.78**: Fix Line selector Reset button javascript. (not showing on refresh)
Fix civitai links and folder creation, now only when you use the nodes.
# 📝 Nodes descriptions