Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

List of negative prompts #2814

Closed
adieyal opened this issue Oct 16, 2022 · 2 comments
Closed

List of negative prompts #2814

adieyal opened this issue Oct 16, 2022 · 2 comments

Comments

@adieyal
Copy link
Contributor

adieyal commented Oct 16, 2022

Is your feature request related to a problem? Please describe.
I am the author of the dynamic prompting custom script. I received a request to allow for wildcards in the negative prompt. The script currently generates an all_prompts list. As far as I can tell, there is no such concept as an all_negative_prompts list.

Describe the solution you'd like
To implement the requested feature, I need to be able to generate a negative prompts list with the same size as all_prompts. This would be implemented somewhere around here.

Describe alternatives you've considered
I don't think there is a workaround for this.

Additional context
I'm happy to take a stab at it if there is interest in making the change.

@lilly1987
Copy link

It has already been modified and is in use.
Even if it is not reflected, there is no problem with me modifying it myself and using it.

Like https://github.com/lilly1987/sd-dynamic-prompts/blob/main/scripts/dynamic_prompting.py

By processing wildcards in p.negative_prompt
Just putting it back into p.negative_prompt meets my requirements

I know there is no all_negative_prompts.
at the moment
It is sufficient that same negative_prompt is use to all batch.

@ghost
Copy link

ghost commented Nov 20, 2022

I think this has been actually implemented with 617c5b4

@adieyal adieyal closed this as completed Nov 20, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants