Fixed the logic of the RS Prompts node
This commit is contained in:
+4
-2
@@ -111,8 +111,10 @@ class RSPrompts:
|
||||
tokens_pos = clip.tokenize(current_text)
|
||||
pos_cond = clip.encode_from_tokens_scheduled(tokens_pos)
|
||||
|
||||
tokens_neg = clip.tokenize("")
|
||||
neg_cond = clip.encode_from_tokens_scheduled(tokens_neg)
|
||||
neg_cond = []
|
||||
for t in pos_cond:
|
||||
d = t[1].copy() if len(t) > 1 else {}
|
||||
neg_cond.append((torch.zeros_like(t[0]), d))
|
||||
|
||||
return {
|
||||
"ui": {"text": [current_text]},
|
||||
|
||||
+1
-1
@@ -29,7 +29,7 @@ IGNORED_MODULES: Set[str] = {'__init__.py'}
|
||||
REQUIRED_MODULES: Set[str] = set()
|
||||
|
||||
PACKAGE_DISPLAY_NAME = "ComfyUI_RaykoStudio"
|
||||
__version__ = "0.20.5"
|
||||
__version__ = "0.20.6"
|
||||
|
||||
def load_modules():
|
||||
print(f"🦊 {PACKAGE_DISPLAY_NAME}: Version: {__version__}")
|
||||
|
||||
+1
-1
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "ComfyUI_RaykoStudio",
|
||||
"version": "0.20.5",
|
||||
"version": "0.20.6",
|
||||
"description": "Set of custom nodes for ComfyUI providing additional image processing capabilities",
|
||||
"author": "Raykosan",
|
||||
"license": "Apache License 2.0",
|
||||
|
||||
+1
-1
@@ -1,7 +1,7 @@
|
||||
[project]
|
||||
name = "ComfyUI_RaykoStudio"
|
||||
description = "Set of custom nodes for ComfyUI providing additional image processing capabilities"
|
||||
version = "0.20.5"
|
||||
version = "0.20.6"
|
||||
license = { file = "LICENSE" }
|
||||
dependencies = ["torch>=1.7.0", "numpy>=1.19.0", "Pillow>=8.0.0", "freetype-py>=2.5.1"]
|
||||
|
||||
|
||||
Reference in New Issue
Block a user