3 Commits

Author SHA1 Message Date
copilot-swe-agent[bot]
4ee7e8bfd4 Add .gitignore and remove pycache from repository
Co-authored-by: jags111 <5968619+jags111@users.noreply.github.com>
2026-02-03 23:01:03 +00:00
copilot-swe-agent[bot]
292b444099 Add IS_CHANGED method to TSC_LoRA_Stacker to fix lag
Co-authored-by: jags111 <5968619+jags111@users.noreply.github.com>
2026-02-03 23:00:48 +00:00
copilot-swe-agent[bot]
ffa6fde8f3 Initial plan 2026-02-03 22:58:16 +00:00
2 changed files with 12 additions and 41 deletions

43
.gitignore vendored
View File

@@ -1,37 +1,10 @@
# Python # Python cache files
__pycache__/ __pycache__/
*.py[cod] *.pyc
*$py.class *.pyo
*.pyd
# Compiled files
*.so *.so
.Python *.dll
build/ *.dylib
develop-eggs/
dist/
downloads/
eggs/
.eggs/
lib/
lib64/
parts/
sdist/
var/
wheels/
*.egg-info/
.installed.cfg
*.egg
# Virtual environments
venv/
ENV/
env/
# IDE
.vscode/
.idea/
*.swp
*.swo
*~
# OS
.DS_Store
Thumbs.db

View File

@@ -326,6 +326,10 @@ class TSC_LoRA_Stacker:
FUNCTION = "lora_stacker" FUNCTION = "lora_stacker"
CATEGORY = "Efficiency Nodes/Stackers" CATEGORY = "Efficiency Nodes/Stackers"
@classmethod
def IS_CHANGED(cls, **kwargs):
return float("nan")
def lora_stacker(self, input_mode, lora_count, lora_stack=None, **kwargs): def lora_stacker(self, input_mode, lora_count, lora_stack=None, **kwargs):
# Extract values from kwargs # Extract values from kwargs
@@ -3958,12 +3962,6 @@ class TSC_ImageOverlay:
overlay_image = comfy.utils.common_upscale(samples, overlay_image_size[0], overlay_image_size[1], resize_method, False) overlay_image = comfy.utils.common_upscale(samples, overlay_image_size[0], overlay_image_size[1], resize_method, False)
overlay_image = overlay_image.movedim(1, -1) overlay_image = overlay_image.movedim(1, -1)
# Handle batch dimension - use first image if overlay_image is a batch
if len(overlay_image.shape) == 4:
if overlay_image.shape[0] > 1:
print(f"{warning('Image Overlay Warning:')} Multiple overlay images detected ({overlay_image.shape[0]}), using only the first image.")
overlay_image = overlay_image[0]
overlay_image = tensor2pil(overlay_image) overlay_image = tensor2pil(overlay_image)
# Add Alpha channel to overlay # Add Alpha channel to overlay