Open dirtyapenz opened 4 weeks ago
When I use a custom style which has {braces} embedded in the prompt it causes an error. Is there a way to escape them?
[ { "name": "cat|dog", "prompt": "{prompt} holding a {cat|dog}", "negative_prompt": "goat" } ]
Error:
File "/home/yomomma/github/ComfyUI/custom_nodes/ComfyUI-Easy-Use/py/easyNodes.py", line 189, in run positive_prompt = all_styles[val]['prompt'].format(prompt=positive)
Using double {{braces}} works adequately.
[ { "name": "cat|dog", "prompt": "{prompt} holding a {{cat|dog}}", "negative_prompt": "goat" } ]
When I use a custom style which has {braces} embedded in the prompt it causes an error. Is there a way to escape them?
Error: