-
Notifications
You must be signed in to change notification settings - Fork 14
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
Support for negative prompt additions in addition to postive #15
Comments
That's a very good idea. Example for https://civitai.com/models/2856/synthpunk-search : Original keywords: Keywords with negative prompts (deforum style negative prompt) Do you have better idea for encoding the negative prompts? Thank you. |
@iarna Are you working on it? |
Ok so yeah, I do have this largely implemented. This is how I approached it: I added another field to the CSV (inserted just after the existing field) that contains the negative prompt. It's added to the user's negative prompt in the same way that the positive prompt is currently handled. (It does this in such a way that it can load current data files so it'll be fully backwards compatible for existing custom entries. It also maintains the existing format if no negative prompt was added so in that respect it's also forward compatible.) Remaining to be done on this is adding the input box in the UI for the negative prompt. |
So I'd prefer embedding the negative prompt in the keywords(second column) without adding a new column to the csv file. |
I'd prefer (for the sale of consistency) if the negatives were just folded in, with a marker at the front like "neg*"... This would allow the random/multiple stuff to work consistently as now. If you added all, it would add all negative prompts, if you add one or two, it would handle the prefix and put it into the negative prompt. I agree, making a new column makes less sense. |
Bumping this, it would be a really helpful addition. @iarna, is this implemented in your fork? I did a quick glance at the code and it doesn't seem like its doing anything with a negative prompt, but did I just not look hard enough? |
I have some models that only behave properly with some additional negative prompts. I've patched my local copy to allow me to add both positive and negative prompts -- would you be interested in getting a PR for this change?
The text was updated successfully, but these errors were encountered: