TDComfyUI icon indicating copy to clipboard operation
TDComfyUI copied to clipboard

[fix] code fix for TD-UI

Open maybites opened this issue 1 year ago • 0 comments

Hi

Thank you very much for your tool. It works like a charm!

Here is a little fix we applied to make the generated UI inside TD match the ConfyUI node titles:

file TdcomfyEXT -> line 166

class_title = comfyJson[node]['_meta']['title']
inputs = comfyJson[node]['inputs']
					
par_header = page.appendHeader(f'Header{node}',label=class_title,replace=True)

It grabs the node title and uses that instead of the node type - usefull especially if one has multiple of the same node type in the comfyUI patcher.

cheers

martin

maybites avatar Apr 23 '24 12:04 maybites