if-ai / ComfyUI-IF_AI_tools

ComfyUI-IF_AI_tools is a set of custom nodes for ComfyUI that allows you to generate prompts using a local Large Language Model (LLM) via Ollama. This tool enables you to enhance your image generation workflow by leveraging the power of language models.
https://ko-fi.com/impactframes
366 stars 27 forks source link

Additional negative prompt not recognize. #20

Closed razvanab closed 2 months ago

razvanab commented 2 months ago

I try to add new negative prompts in the neg_prompts.json file, but the response is always:  Message will appear here.

I added this after: "None": "None", "Mine": "text, logo",

if-ai commented 2 months ago

Hi, it will appear the next session, next time you start comfy.

razvanab commented 2 months ago

Yes, I tried that and it is the same.

if-ai commented 2 months ago

dare you sure the file actually save

razvanab commented 2 months ago

Yes. Ok, for some reason today it's working fine, and I have no idea what changed.

if-ai commented 2 months ago

thank you for closing the issue, one more thing maybe you know this but when working with json try to save encoding UFT-8 sometimes there are weird characters and it would throw an error . Ty