Commit Graph
744 Commits
Author SHA1 Message Date
yolain 3cf9ab4e63 remove unnecessary print statements 2026-04-23 12:08:38 +08:00
Ralkey ff5e3a34fc fixed detailer not working in subgraphs (#989) 2026-04-21 10:28:59 +08:00
xmarreandxmarre ec4ca6717f Fix Clean VRAM teardown ordering and clear Easy-Use cache in place (#982)
* Remove unused repo metadata and frontend submodule

* Remove repo metadata and frontend submodule

* Add .codex to .gitignore

* Delete .codex

---------

Co-authored-by: xmarre <mmquant1@gmail.com>
2026-04-09 08:12:22 +08:00
yolain b82bb48948 fix: avoid recursive group refs in nodes map 2026-04-08 12:56:30 +08:00
Mark Cockram d08eedabd3 fix(xyplot): fix crashes in Seeds++ Batch and tuple X/Y inputs (#984)
Three bugs in pipeXYPlotAdvanced.plot():

1. X/Y inputs can arrive as tuples in certain ComfyUI configurations,
   causing `AttributeError: 'tuple' object has no attribute 'get'`.
   Added isinstance check to unwrap single-element tuples.

2. Seeds++ Batch used `if new_pipe['seed']:` which:
   - Raises KeyError when 'seed' key is absent
   - Silently skips seed generation when seed is 0 (a valid seed)
   Changed to `new_pipe.get('seed') or 0` for safe fallback.

3. `!= None` → `is not None` per PEP 8.
2026-04-08 12:51:51 +08:00
Z-nonymous 8ba21d0b44 XY plot issue with XY Inputs Lora (#976)
* Fixed the LoRA handling bug in [`py/libs/xyplot.py:365-395`](py/libs/xyplot.py:365).

The original code used an if/else pattern that only processed one LoRA at a time:
```python
xy_values = x_value if self.x_type == "Lora" else y_value
```

This caused issues when both X and Y axes contained LoRAs - only the X axis LoRA was processed, and when only Y had LoRAs, the latent array wasn't populated correctly.

The fix now:
1. Creates an empty `lora_stack` list
2. Adds the X axis LoRA to the stack if `self.x_type == "Lora"`
3. Adds the Y axis LoRA to the stack if `self.y_type == "Lora"`
4. Appends any existing `plot_image_vars['lora_stack']` to the combined stack
5. Applies all LoRAs in sequence

This ensures both X and Y LoRAs are properly combined and applied when both axes contain LoRA values, fixing the `IndexError` in `rearrange_tensors()` that occurred due to mismatched latent array dimensions.

* Fixed: get_labels_and_sample loop structure (lines 588-623)

The IndexError persisted because the latent array length didn't match the expected grid dimensions. The issue is in the nested loop structure of get_labels_and_sample()
When only Y-axis has LoRA values (X is "None"), the nested loops don't generate the correct number of latents:
This results in 0 latents instead of len(y_values) latents, causing the IndexError in rearrange_tensors()

Replaced the nested loop structure with three explicit cases:

X-only variation (self.y_type == 'None'): Iterates over X values only
Y-only variation (self.x_type == 'None'): Iterates over Y values only
Both X and Y variation: Nested iteration over both axes
This ensures the correct number of latents are generated for all scenarios, fixing the IndexError in rearrange_tensors() that occurred when only Y-axis had values (like LoRAs).

* Fix for the LoRA label generation logic in [`py/libs/xyplot.py`](py/libs/xyplot.py:63-69). The changes made to the `define_variable()` method:

1. **Reduced model name truncation** from 30 to 25 characters to leave room for weight information
2. **Changed weight format** from `(0.50)` to ` w:0.50` for better visibility
3. **Only show weight when it differs from default** (1.0) - this ensures weight is displayed for non-default values
4. **Added bounds check** for `len(arr) > 3` before accessing `arr[3]` to prevent potential IndexError

Now when using the same LoRA with different weights (e.g., LoRA A at 0.5 and 1.0), each variation will have a distinct label in the axis, making it clear which weight is being applied in each column/row of the XY plot.
2026-03-31 15:11:24 +08:00
yolain 337a03bb19 Rollback the cycle node to version v1 2026-03-19 18:01:59 +08:00
yolain aef19b8772 Fix NodesMap #969 2026-03-19 14:26:21 +08:00
j2gg0s d60b61d575 fix: use getattr for flipped_img_txt to support newer ComfyUI versions (#968)
ComfyUI removed the `flipped_img_txt` attribute from `DoubleStreamBlock`
in a recent refactor (commit e1add563f, "Use torch RMSNorm for flux
models and refactor hunyuan video code"). This causes an AttributeError
when IPAdapter Flux nodes are executed.

Use `getattr` with a default of `False` (matching the original default)
to maintain compatibility with both old and new ComfyUI versions.
2026-03-13 12:18:51 +08:00
0AA01A0F1 a3f051f0c3 [*] Small Readme corrections (#963) 2026-03-05 11:39:14 +08:00
stuttlepress 8ca6ace667 Fix for loraStack/loraSwitcher/controlnetStack disable erases upstream stack (#962) 2026-03-03 23:45:35 +08:00
yolain 81c510c06e Optimize easy tableEditor display 2026-02-23 17:17:21 +08:00
yolain 7601371923 Add easy tableEditor 2026-02-23 11:53:28 +08:00
yolain b11c634872 Fix showAnything can not working on latest comfyui frontend 2026-02-13 21:56:09 +08:00
rjgoif 7c470c67d6 Update logic.py (#949)
Fixed Range(Float) node which would sometimes truncate the list of values by 1 due to rounding error.
2026-01-31 12:21:35 +08:00
yolain b5865efd16 Fix multiAnglePrompt settings failed to save 2026-01-30 19:01:11 +08:00
yolain 5ec3b5ef86 Fix easy showAnything #933 2026-01-25 17:42:53 +08:00
yolain b5e31ef12a Bump Version v1.3.6 2026-01-23 14:18:34 +08:00
yolain 21b3c15040 Fix #946 2026-01-23 14:04:47 +08:00
yolain 5dfcbcf51d Fix custom widgets to support subgraph and Nodes 2.0 #942 2026-01-17 19:27:14 +08:00
yolain 070001b36b latest commit supplemental fix #939 2026-01-13 18:48:50 +08:00
yolain 6b4c89adc4 prompt.py is compatible with comfyui version <= 0.7.0 #939 2026-01-13 15:46:48 +08:00
yolain 32ad26f0e1 Add Invert rotate mode (#940)
* Remove the degree restriction on the vertical viewing angle

* Modify multi-perspective prompt

* Add Invert rotate mode
2026-01-13 14:14:50 +08:00
yolain d9c2072a2d Add Hollow Mode to easy multiAngle (#936)
- Global control to enable or disable angle prompts
- Added `Hollow Mode` for more intuitive visualization
- Removed label quantity limit; now supports unlimited additions
- Label addition button will copy parameters from the selected page
- Double-clicking any face of the cube quickly switches camera angles for easier operation

- 全局控制是否添加角度提示词
- 新增了`镂空模式`,可更直观地展示
- 去除标签限制个数,可添加无数个
- 标签添加按钮将复制选中页的参数
- 双击正方体的每一面可以快速切换摄像机角度,便于操作
2026-01-11 15:51:14 +08:00
yolain e94405e610 Fix easy multiAngle styles on light theme 2026-01-10 18:22:18 +08:00
yolain 03d5a4cf12 Update easy multiAngle frontend 2026-01-10 17:44:15 +08:00
yolain ad43ed3154 Add easy multiAngle for qwen 2511 multi lora 2026-01-10 17:33:43 +08:00
yolain 5cc1f8535a Convert prompt.py to V3 Schema 2026-01-10 13:20:48 +08:00
yolain 9f42ead9db Fix humanSegmentation error 2026-01-05 15:20:41 +08:00
yolain 23d9c365bd Add stringJoinLines 2025-12-30 13:47:07 +08:00
yolain 7a17ad010d Add stringToIntList and SimpleMath 2025-12-30 13:05:38 +08:00
yolain 3b38a5ae60 Fix lazy options 2025-12-30 12:25:43 +08:00
yolain 3b224fbccd update __init__.py 2025-12-28 14:51:23 +08:00
yolain 00c69fc816 Bump version and add icon v1.3.5 2025-12-19 12:13:54 +08:00
yolain d39b5e13e2 Fix isNone 2025-12-19 11:52:48 +08:00
yolain e900c2ca9c Add preview_rescale to easy imageChooser 2025-12-03 13:18:20 +08:00
yolain 9947b8be70 Fix widget hidden #910 2025-11-16 10:47:45 +08:00
yolain bc4cec287e Merge remote-tracking branch 'origin/main' 2025-11-16 10:47:03 +08:00
facok 84a4348bc5 Fix: Add max parameter to wildcardsPromptMatrix offset (#909)
- Set offset max to MAX_SEED_NUM (1125899906842624) instead of default 2048
 - This allows accessing all items in large wildcards (e.g., 100k lines)
- Previously, only the first 2048 items were accessible due to ComfyUI frontend default limit
2025-11-16 10:38:58 +08:00
yolain 29cca677c5 Fix #903 2025-11-08 11:13:51 +08:00
yolain 76b5896f08 Remove changes to widget styles #902 2025-11-06 14:32:39 +08:00
yolain be70a8671a Fix SubgraphNode titlebox style 2025-11-06 12:13:30 +08:00
yolain 0f6cc6958a Fix using JoinImageWithAlpha bug 2025-11-05 22:27:20 +08:00
yolain 499ed4eafc Add remove_empty_lines on easy promptLine 2025-10-30 14:13:51 +08:00
yolain 125b3a4905 When the sidebar is transparent, do not apply styles 2025-10-20 20:11:05 +08:00
yolain a1b402b4a9 Bump version v1.3.4 2025-10-15 21:33:46 +08:00
yolain 755723ce64 Fix references to some official nodes 2025-10-15 21:28:01 +08:00
yolain 737feef400 Add new compare functions to the easy compare node 2025-10-15 20:50:48 +08:00
yolain 8ecc929cd4 Fix easy seedList max_num #879 2025-10-03 12:53:31 +08:00
Mr-Quin 58e9d594cd add controlnet input to xyplot (#877) 2025-10-02 15:31:15 +08:00