Comfy-Org / Comfy-Org/ComfyUI

Using gradio block types within custom nodes?

Open
#1,285 0 comments 0 reactions 0 assignees View on GitHub
User Support
Dominant language
Python
Stars
133k
Forks
15.7k
Avg merge
1d 7h
Merged PRs (30d)
158

Description

I've been doing some tests with making [my extension](https://github.com/Nekos4Lyfe/TokenMixer) compatible with ComfyUI , but I am at a loss when it comes to creating a simple button for a custom Node. Suggestions?

Any chance you could add a "BUTTON" dict type to the example class for the custom_node?

Is there a method/suggestions to run gradio block types like gr.button , gr.dropdown , gr.Accordion within a node?

Thanks

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.