-
Notifications
You must be signed in to change notification settings - Fork 113
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
Updated fork #39
Open
uorufu
wants to merge
39
commits into
AUTOMATIC1111:master
Choose a base branch
from
uorufu:master
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Updated fork #39
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Personal fork to work better with Adetailer.
bugfixes / cleaning code
Updated random method to be way better. Increased wildcard tiers to 20 ( `` `__0_textfile__ ---> __19_textfile__` ``
Brought back seed locking option in settings, working with adetailer now.
Keep same seed option had a bug where turning the setting off wouldn't work until a full reload.
Massive update. Added iterative wildcards Fixed some issues Also added the ability to use wildcards the old way. (Although I recommend using tiered wildcards.) Also added the settings into txt2img menu.
Updates!
Optimizations, fixes
Added functionality to lock the wildcard to a specific line between 1 and 99 For example: normal wildcard (wildcard.txt) getting random line number: __1_wildcard__ locked wildcard getting line number between 1-99, in example the fourth line in the wildcard: __1_wildcard_4__ This allows you to lock certain wildcards to a specific line for testing/batching.
small oopsy, fixed
Code cleanup as it was a mess and added locking lines. (ie. __0_wildcard_14__ will lock to the 14th line in the wildcard.txt file)
Good thing I am not a professional. Small bug fixed.
Added negative prompt wildcards. Pretty much done with this extension for now. Only known bug: If you use lora's inside wildcards, it doesn't work when using "Batch Size". It still works fine with "Batch Count" however. This has to do with automatic1111/forge handling prompts outside of the extension. I suspect when you use "Batch Size", the prompt lora's are loaded once for all iterations. Whereas with "Batch Count" it reloads the lora's newly for each iteration. # TLDR: Don't use "Batch Size", or don't use lora's inside of wildcards.
Negative and Hires prompts functioning properly as well. Some changes/fixes. Note: I can't seem to fix the infotext of hires prompt. It does apply the correct prompt for image generation, but in a batch all images have the hires prompt of the first image in their infotext.
Final update for now. So new features added the past couple of days: - negative and hires prompt support. - line locking support added. ( `__1_wildcard_12__` locks to 12th line of wildcard.txt ) - Made the script a bit easier to read? (It's still a bit of a mess, and there are plenty of efficiency improvements to be had, but it works and is pretty robust as it is now.) Basically, it's working as I originally wanted it to now. So probably done with it.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Check out my fork.
It works great with adetailer and has some added functionality.
Ps: I started programming a couple of days ago when I decided to make something work for what I needed. Someone more experienced might want to look over the code. I am sure it is a mess.
It works great though.