o >g@sGdddZdeiZdS)c@s,eZdZeddZdZdZdZddZdS) CLIPTextEncodeHunyuanDiTcCs$ddddddfddddfdiS)Nrequired)CLIPSTRINGT) multilinedynamicPrompts)clipbertmt5xl)sr r D/home/comdoleger1/zen-flux-style-shape/comfy_extras/nodes_hunyuan.py INPUT_TYPESs   z$CLIPTextEncodeHunyuanDiT.INPUT_TYPES) CONDITIONINGencodezadvanced/conditioningcCsB||}||d|d<|j|ddd}|d}||ggfS)Nr T) return_pooled return_dictcond)tokenizeencode_from_tokenspop)selfrrr tokensoutputrr r r rs   zCLIPTextEncodeHunyuanDiT.encodeN) __name__ __module__ __qualname__ classmethodr RETURN_TYPESFUNCTIONCATEGORYrr r r r rs  rN)rNODE_CLASS_MAPPINGSr r r r s