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
368 stars 27 forks source link

how to re-generate prompt with the same input text #6

Closed nigo81 closed 2 months ago

nigo81 commented 3 months ago
image

After generating once, I want the model to regenerate the prompt without altering the input. However, currently, if the input text remains unchanged, it won't generate a new prompt but instead refers to a previously generated one.

I wonder if there's any way to achieve that every time I click on "generate," it regenerates a new Prompt? Thanks!

if-ai commented 3 months ago

Yes, thank you I just notice that, I think it did work like that before but I must have changed something, I will add some features to get different prompts each time I think I had seed before but because seeds overrides temperature for ollama I had to trade it off, I will see how can I add that back

if-ai commented 2 months ago

The new random seed button will force a fixed seed if on and radom if off by default