Skip to content

Commit

Permalink
0.69
Browse files Browse the repository at this point in the history
  • Loading branch information
justUmen committed Jan 25, 2025
1 parent 7778872 commit ded6a36
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 10 deletions.
16 changes: 8 additions & 8 deletions API_civitai.py
Original file line number Diff line number Diff line change
Expand Up @@ -568,7 +568,7 @@ def download_file(url, destination_path, model_name, api_token=None):
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)
Expand Down Expand Up @@ -706,7 +706,7 @@ def download_file(url, destination_path, model_name, api_token=None):
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)
Expand Down Expand Up @@ -842,7 +842,7 @@ def download_file(url, destination_path, model_name, api_token=None):
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)
Expand Down Expand Up @@ -1116,7 +1116,7 @@ def download_file(url, destination_path, model_name, api_token=None):
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)
Expand Down Expand Up @@ -1357,7 +1357,7 @@ def download_file(url, destination_path, lora_name, api_token=None):
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)
Expand Down Expand Up @@ -1500,7 +1500,7 @@ def download_file(url, destination_path, lora_name, api_token=None):
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)
Expand Down Expand Up @@ -1643,7 +1643,7 @@ def download_file(url, destination_path, lora_name, api_token=None):
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)
Expand Down Expand Up @@ -1786,7 +1786,7 @@ def download_file(url, destination_path, lora_name, api_token=None):
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)
Expand Down
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -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.
Expand Down Expand Up @@ -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

Expand Down
3 changes: 3 additions & 0 deletions __init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -95,9 +95,11 @@
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,
Expand Down Expand Up @@ -225,6 +227,7 @@
}

NODE_DISPLAY_NAME_MAPPINGS = {
# "Bjornulf_EmptyVideoLatentWithSingle": "Bjornulf_EmptyVideoLatentWithSingle",
"Bjornulf_XTTSConfig": "🔊 TTS Configuration ⚙",
"Bjornulf_TextToSpeech": "📝➜🔊 TTS - Text to Speech",
# "Bjornulf_HiResFix": "HiResFix",
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -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]
Expand Down

0 comments on commit ded6a36

Please sign in to comment.