Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
cf9bae0718 | ||
|
|
c90d6c8d0f |
+1
-1
@@ -7,7 +7,7 @@
|
||||
|
||||
import importlib
|
||||
|
||||
version_code = [0, 82, 4]
|
||||
version_code = [0, 82, 6]
|
||||
version_str = f"V{version_code[0]}.{version_code[1]}" + (f'.{version_code[2]}' if len(version_code) > 2 else '')
|
||||
print(f"### Loading: ComfyUI-Inspire-Pack ({version_str})")
|
||||
|
||||
|
||||
@@ -121,7 +121,7 @@ class LoadPromptsFromFile:
|
||||
|
||||
prompts = []
|
||||
try:
|
||||
if text_data_opt is None:
|
||||
if not text_data_opt:
|
||||
with open(prompt_path, "r", encoding="utf-8") as file:
|
||||
prompt_data = file.read()
|
||||
else:
|
||||
@@ -182,7 +182,7 @@ class LoadSinglePromptFromFile:
|
||||
|
||||
prompts = []
|
||||
try:
|
||||
if text_data_opt is None:
|
||||
if not text_data_opt:
|
||||
with open(prompt_path, "r", encoding="utf-8") as file:
|
||||
prompt_data = file.read()
|
||||
else:
|
||||
@@ -463,8 +463,9 @@ class WildcardEncodeInspire:
|
||||
"To use 'Wildcard Encode (Inspire)' node, 'Impact Pack' extension is required.")
|
||||
raise Exception(f"[ERROR] To use 'Wildcard Encode (Inspire)', you need to install 'Impact Pack'")
|
||||
|
||||
model, clip, conditioning = nodes.NODE_CLASS_MAPPINGS['ImpactWildcardEncode'].process_with_loras(wildcard_opt=populated, model=kwargs['model'], clip=kwargs['clip'], clip_encoder=clip_encoder)
|
||||
return (model, clip, conditioning, populated)
|
||||
processed = []
|
||||
model, clip, conditioning = nodes.NODE_CLASS_MAPPINGS['ImpactWildcardEncode'].process_with_loras(wildcard_opt=populated, model=kwargs['model'], clip=kwargs['clip'], seed=kwargs['seed'], clip_encoder=clip_encoder, processed=processed)
|
||||
return (model, clip, conditioning, processed[0])
|
||||
|
||||
|
||||
class MakeBasicPipe:
|
||||
|
||||
+1
-1
@@ -1,7 +1,7 @@
|
||||
[project]
|
||||
name = "comfyui-inspire-pack"
|
||||
description = "This extension provides various nodes to support Lora Block Weight and the Impact Pack. Provides many easily applicable regional features and applications for Variation Seed."
|
||||
version = "0.82.4"
|
||||
version = "0.82.6"
|
||||
license = "LICENSE"
|
||||
dependencies = ["matplotlib", "cachetools"]
|
||||
|
||||
|
||||
Reference in New Issue
Block a user