From ded6a36546cb09e30f2007886904f43f0f4192b1 Mon Sep 17 00:00:00 2001 From: justumen Date: Sat, 25 Jan 2025 18:29:43 +0100 Subject: [PATCH] 0.69 --- API_civitai.py | 16 ++++++++-------- README.md | 3 ++- __init__.py | 3 +++ pyproject.toml | 2 +- 4 files changed, 14 insertions(+), 10 deletions(-) diff --git a/API_civitai.py b/API_civitai.py index a01cb81..2c079fd 100644 --- a/API_civitai.py +++ b/API_civitai.py @@ -568,7 +568,7 @@ class CivitAIModelSelectorSD15: return (model[0], model[1], model[2], model_info['name'], f"https://civitai.com/models/{model_info['model_id']}") @classmethod - def IS_CHANGED(s, image): + def IS_CHANGED(s, image, **kwargs): if image == "none": return "" image_path = os.path.join(civitai_base_path, image) @@ -706,7 +706,7 @@ class CivitAIModelSelectorSDXL: return (model[0], model[1], model[2], model_info['name'], f"https://civitai.com/models/{model_info['model_id']}") @classmethod - def IS_CHANGED(s, image): + def IS_CHANGED(s, image, **kwargs): if image == "none": return "" image_path = os.path.join(civitai_base_path, image) @@ -842,7 +842,7 @@ class CivitAIModelSelectorFLUX_D: return (model[0], model[1], model[2], model_info['name'], f"https://civitai.com/models/{model_info['model_id']}") @classmethod - def IS_CHANGED(s, image): + def IS_CHANGED(s, image, **kwargs): if image == "none": return "" image_path = os.path.join(civitai_base_path, image) @@ -1116,7 +1116,7 @@ class CivitAIModelSelectorPony: return (model[0], model[1], model[2], model_info['name'], f"https://civitai.com/models/{model_info['model_id']}") @classmethod - def IS_CHANGED(s, image): + def IS_CHANGED(s, image, **kwargs): if image == "none": return "" image_path = os.path.join(civitai_base_path, image) @@ -1357,7 +1357,7 @@ class CivitAILoraSelectorSD15: return (model_lora, clip_lora, lora_info['name'], f"https://civitai.com/models/{lora_info['lora_id']}", trained_words_str) @classmethod - def IS_CHANGED(s, image): + def IS_CHANGED(s, image, **kwargs): if image == "none": return "" image_path = os.path.join(civitai_base_path, image) @@ -1500,7 +1500,7 @@ class CivitAILoraSelectorSDXL: return (model_lora, clip_lora, lora_info['name'], f"https://civitai.com/models/{lora_info['lora_id']}", trained_words_str) @classmethod - def IS_CHANGED(s, image): + def IS_CHANGED(s, image, **kwargs): if image == "none": return "" image_path = os.path.join(civitai_base_path, image) @@ -1643,7 +1643,7 @@ class CivitAILoraSelectorPONY: return (model_lora, clip_lora, lora_info['name'], f"https://civitai.com/models/{lora_info['lora_id']}", trained_words_str) @classmethod - def IS_CHANGED(s, image): + def IS_CHANGED(s, image, **kwargs): if image == "none": return "" image_path = os.path.join(civitai_base_path, image) @@ -1786,7 +1786,7 @@ class CivitAILoraSelectorHunyuan: return (model_lora, clip_lora, lora_info['name'], f"https://civitai.com/models/{lora_info['lora_id']}", trained_words_str) @classmethod - def IS_CHANGED(s, image): + def IS_CHANGED(s, image, **kwargs): if image == "none": return "" image_path = os.path.join(civitai_base_path, image) diff --git a/README.md b/README.md index 127be7d..84c1115 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -# 🔗 Comfyui : Bjornulf_custom_nodes v0.68 🔗 +# 🔗 Comfyui : Bjornulf_custom_nodes v0.69 🔗 A list of 120 custom nodes for Comfyui : Display, manipulate, create and edit text, images, videos, loras, generate characters and more. You can manage looping operations, generate randomized content, trigger logical conditions, pause and manually control your workflows and even work with external AI tools, like Ollama or Text To Speech. @@ -371,6 +371,7 @@ cd /where/you/installed/ComfyUI && python main.py - **0.66**: Add lora hunyuan CIVIT ai + download, add TTS configuration node, edit requirements.txt - **0.67**: Add kokoro TTS node. - **0.68**: Update kokoro TTS node with connect_to_workflow and same outputs as XTTS. +- **0.69**: Small fixes # 📝 Nodes descriptions diff --git a/__init__.py b/__init__.py index 6e49b95..c87d9c6 100644 --- a/__init__.py +++ b/__init__.py @@ -95,9 +95,11 @@ from .load_text import LoadTextFromFolder, LoadTextFromPath from .string_splitter import TextSplitin5 from .line_selector import LineSelector from .text_to_speech_kokoro import KokoroTTS +# from .empty_latent_video import EmptyVideoLatentWithSingle # from .text_generator_t2v import TextGeneratorText2Video NODE_CLASS_MAPPINGS = { "Bjornulf_LineSelector": LineSelector, + # "Bjornulf_EmptyVideoLatentWithSingle": EmptyVideoLatentWithSingle, "Bjornulf_XTTSConfig": XTTSConfig, "Bjornulf_KokoroTTS": KokoroTTS, # "Bjornulf_TextGeneratorText2Video": TextGeneratorText2Video, @@ -225,6 +227,7 @@ NODE_CLASS_MAPPINGS = { } NODE_DISPLAY_NAME_MAPPINGS = { + # "Bjornulf_EmptyVideoLatentWithSingle": "Bjornulf_EmptyVideoLatentWithSingle", "Bjornulf_XTTSConfig": "🔊 TTS Configuration ⚙", "Bjornulf_TextToSpeech": "📝➜🔊 TTS - Text to Speech", # "Bjornulf_HiResFix": "HiResFix", diff --git a/pyproject.toml b/pyproject.toml index 9bcc0f0..4422f03 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,7 +1,7 @@ [project] name = "bjornulf_custom_nodes" description = "120 ComfyUI nodes : Display, manipulate, and edit text, images, videos, loras, generate characters and more. Manage looping operations, generate randomized content, use logical conditions and work with external AI tools, like Ollama or Text To Speech Kokoro, etc..." -version = "0.68" +version = "0.69" license = {file = "LICENSE"} [project.urls]