Comfyui custom nodes, how to create a button widget to select a path?



This content originally appeared on DEV Community and was authored by uriel deveaud

hi, i am trying to add a button on my custom node in python to select a path and show this path over the button… i tried many ways but i can´t figure out.
the path will be used to access a directory of images out of the node folder. any help? thx


This content originally appeared on DEV Community and was authored by uriel deveaud