Comments (2)
This comes up a lot but, unfortunately, it's not really possible to toggle mute/bypass with an input as they are in two completely different phases of execution.
Muting, Bypassing, and other actions are all modifying the active workflow in the browser in real-time. Whether you use ctl+M, or a Fast Muter, etc. when you do so, it's changing those nodes' status right there in the browser workflow--there's no communication with the server.
When you queue a prompt, ComfyUI takes the current browser workflow, and sends it as-is to the backend, which executes it independently. Things that have been muted/bypassed are stuck as muted/bypassed (I actually think Comfy doesn't even send them to the backend).
Further, an input is a value passed from one node to a connecting node in the backend, during that nodes' execution. At this point, it is infeasible to then mute/bypass a node or group based on the value of an input as we're no longer in the browser to manipulate the workflow that would have been sent to the server. (At least not without an extensive re-write to ComfyUI's execution and APIs.)
from rgthree-comfy.
Ok, thank you for the explanation. It will probably need lifecycle hooks and only the ComfyUI team can integrate them.
from rgthree-comfy.
Related Issues (20)
- After the update, there's something on top blocking me. HOT 4
- Copy/paste of nodes stopped working. HOT 1
- [Feature Request] Reroute (rgthree) node
- Feature Request: Fast Group Muter / Bypasser output an optional Int HOT 1
- Bug: FlexibleOptionalInputType is breaking "object_info" API HOT 1
- Lora Loader Request
- KSampler Config not compatible with SamplerCustom HOT 2
- Bookmarks now broken in two important ways HOT 1
- Can Boolean button be converted to input, so that the triggering rules can be customized HOT 7
- .git file is very large (170Mb+) - Requesting cleanup HOT 1
- Error occurred when executing VHS_LoadVideoPath: video is not a valid path: .\ComfyUI\Output\Projects\video\video.mp4 HOT 1
- [Bug]: Context Big problems with the new ComfyUI frontend HOT 1
- [Feature Request] Node triggered bookmark
- [bug] civitai problem with power lora loader (rg3) node HOT 1
- Mute/Bypass Repeater Daisy Chain HOT 1
- Power Lora Loader string output? HOT 1
- IndexError: list index out of range
- Seed node to noise
- [FEATURE REQUEST] Turn ON toggle green when activated in Fast Groups Muter/Bypasser
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from rgthree-comfy.