aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/loopback.py
Commit message (Collapse)AuthorAgeFilesLines
* Autofix Ruff W (not W605) (mostly whitespace)Aarni Koskela2023-05-111-4/+4
|
* Fix up string formatting/concatenation to f-strings where feasibleAarni Koskela2023-05-091-1/+1
|
* loopback.py Colab compatibility and bug fixLipeCarmel2023-03-251-9/+6
| | | | | This code (suggested by @abvgdeabvgde2 ) literally does the same thing and it does not break with Python 3.9, making it helpful for Google Colab users (me included). fixes #8927 Also a partial fix for #8902 but it does not resolve the unresponsive UI problem faced by @Archon332
* Fix "masked content" in loopback scriptJames Railton2023-03-231-0/+4
| | | | | | The loopback script did not set masked content to original after first loop. So each loop would apply a fill, or latent mask. This would essentially reset progress each loop. The desired behavior is to use the mask for the first loop, then continue to iterate on the results of the previous loop.
* Loopback Script UpdatesJames Railton2023-03-221-26/+67
| | | | | | | | - Improved user experience. You can now pick the denoising strength of the final loop and one of three curves. Previously you picked a multiplier such as 0.98 or 1.03 to define the change to the denoising strength for each loop. You had to do a ton of math in your head to visualize what was happening. The new UX makes it very easy to understand what's going on and tweak. - For batch sizes over 1, intermediate images no longer returned. For a batch size of 1, intermediate images from each loop will continue to be returned. When more than 1 image is returned, a grid will also be generated. Previously for larger jobs, you'd get back a mess of many grids and potentially hundreds of images with no organization. To make large jobs usable, only final images are returned. - Added support for skipping current image. Fixed interrupt to cleanly end and return images. Previously these would throw. - Improved tooltip descriptions - Fix some edge cases
* Optionally append interrogated prompt in loopback scriptVladimir Repin2023-02-051-2/+12
|
* rework #6329 to remove duplicate code and add prevent tab names for showing ↵AUTOMATIC2023-01-051-6/+0
| | | | in ids for scripts that only exist on one tab
* Refactor elem_prefix as function elem_idme2023-01-051-5/+10
|
* Adjusted prefix from i2i/t2i to txt2img and img2img and removed those ↵me2023-01-051-1/+1
| | | | prefixes from img exclusive scripts
* Add element ids for script components and a few more in ui.pyme2023-01-041-2/+4
|
* Reset init img in loopback at start of each batch (#2214)Rory Grieve2022-10-111-0/+4
| | | | | Before a new batch would use the last image from the previous batch. Now each batch will use the original image for the init image at the start of the batch.
* only set loopback color corrections if corrections enabledBrian Drupieski2022-09-171-1/+3
|
* set loopback color corrections on each iterationBrian Drupieski2022-09-171-2/+2
|
* fix loopback color correction to store color_correction info for initial ↵AUTOMATIC2022-09-161-0/+3
| | | | image and use that instead of extracting from previous image in a loop #481 #541
* loopback moved to scripts, added support for multiple batches, changed to ↵AUTOMATIC2022-09-141-0/+78
honor save grids and how grids in web setting