sdxl_prompt_styler icon indicating copy to clipboard operation
sdxl_prompt_styler copied to clipboard

Getting an error with the latest Comfy updates and Prompt Styler

Open Aamir3d opened this issue 1 year ago • 4 comments

After the last week or so, I'm getting this error with Prompt Styler. It works OK but I have this line in the command prompt.

WARNING: SDXLPromptStylerAll.IS_CHANGED() got an unexpected keyword argument 'text_positive'

Aamir3d avatar Aug 16 '24 23:08 Aamir3d

Looks like you have a broken JSON somewhere for text_positve.

twri avatar Aug 17 '24 06:08 twri

Looks like you have a broken JSON somewhere for text_positve.

Thank you. I will check. I'm only using the Prompt Styler All node in most of my workflows for ease of use.

Aamir3d avatar Aug 17 '24 11:08 Aamir3d

Would probably help to have better parsing error messages but until then you could either move them out of the folder and put them back one by one or rename the extension. Reloading the nodes (and JSONs) can be done with keyboard shortcut ‘R’ in ComfyUI.

twri avatar Aug 17 '24 13:08 twri

Would probably help to have better parsing error messages but until then you could either move them out of the folder and put them back one by one or rename the extension. Reloading the nodes (and JSONs) can be done with keyboard shortcut ‘R’ in ComfyUI.

Appreciate the help. I'll try and get to it today. I'd made a larger Json with all the styles merged (including SAI, MRE, Fooocus and others), and I have to copy it back every time. Happy to share it here if you want to include it as default.

Aamir3d avatar Aug 17 '24 21:08 Aamir3d