mirror of
https://github.com/justUmen/Bjornulf_custom_nodes.git
synced 2026-03-26 14:48:51 -03:00
...
This commit is contained in:
@@ -199,7 +199,6 @@ def download_file(url, destination_path, model_name, api_token=None):
|
|||||||
# Set up main checkpoint directory
|
# Set up main checkpoint directory
|
||||||
_, civitai_base_path, parsed_models_path = get_civitai_base_paths()
|
_, civitai_base_path, parsed_models_path = get_civitai_base_paths()
|
||||||
bjornulf_checkpoint_path = Path(folder_paths.models_dir) / "checkpoints" / "Bjornulf_civitAI"
|
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
|
# Register the main checkpoint folder
|
||||||
checkpoint_folders = list(folder_paths.folder_names_and_paths["checkpoints"])
|
checkpoint_folders = list(folder_paths.folder_names_and_paths["checkpoints"])
|
||||||
@@ -781,6 +780,7 @@ class CivitAIModelSelectorSDXL:
|
|||||||
CATEGORY = "Bjornulf"
|
CATEGORY = "Bjornulf"
|
||||||
|
|
||||||
def load_model(self, image, civitai_token):
|
def load_model(self, image, civitai_token):
|
||||||
|
create_bjornulf_checkpoint_folder()
|
||||||
if image == "none":
|
if image == "none":
|
||||||
raise ValueError("No image selected")
|
raise ValueError("No image selected")
|
||||||
|
|
||||||
@@ -883,6 +883,7 @@ class CivitAIModelSelectorFLUX_D:
|
|||||||
CATEGORY = "Bjornulf"
|
CATEGORY = "Bjornulf"
|
||||||
|
|
||||||
def load_model(self, image, civitai_token):
|
def load_model(self, image, civitai_token):
|
||||||
|
create_bjornulf_checkpoint_folder()
|
||||||
if image == "none":
|
if image == "none":
|
||||||
raise ValueError("No image selected")
|
raise ValueError("No image selected")
|
||||||
|
|
||||||
@@ -984,6 +985,7 @@ class CivitAIModelSelectorFLUX_S:
|
|||||||
CATEGORY = "Bjornulf"
|
CATEGORY = "Bjornulf"
|
||||||
|
|
||||||
def load_model(self, image, civitai_token):
|
def load_model(self, image, civitai_token):
|
||||||
|
create_bjornulf_checkpoint_folder()
|
||||||
if image == "none":
|
if image == "none":
|
||||||
raise ValueError("No image selected")
|
raise ValueError("No image selected")
|
||||||
|
|
||||||
@@ -1085,6 +1087,7 @@ class CivitAIModelSelectorPony:
|
|||||||
CATEGORY = "Bjornulf"
|
CATEGORY = "Bjornulf"
|
||||||
|
|
||||||
def load_model(self, image, civitai_token):
|
def load_model(self, image, civitai_token):
|
||||||
|
create_bjornulf_checkpoint_folder()
|
||||||
if image == "none":
|
if image == "none":
|
||||||
raise ValueError("No image selected")
|
raise ValueError("No image selected")
|
||||||
|
|
||||||
|
|||||||
@@ -463,7 +463,6 @@ Fix preview image node for the new comfyui layout.
|
|||||||
Rewrite of FFMPEG nodes, COnfiguration and Video preview.
|
Rewrite of FFMPEG nodes, COnfiguration and Video preview.
|
||||||
Many other bug fixes and improvements on many nodes, thx for the reports.
|
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)
|
- **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
|
# 📝 Nodes descriptions
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user