Commit Graph

361 Commits (0e0b607cfaabf59167e3ab2a44d491b4e4e1b08e)

Author SHA1 Message Date
Vladimir Mandic 635efb0203 fix save metadata 2023-12-05 10:04:32 -05:00
Vladimir Mandic 77f06befa4 handle zero size image resize 2023-12-04 10:01:15 -05:00
Vladimir Mandic 2552555678 animatediff live previews and implement interpolate 2023-12-01 13:16:23 -05:00
Vladimir Mandic 84d733f0a0 add stable-video-diffusion 2023-11-30 11:21:26 -05:00
Vladimir Mandic d8d8f58072 initial lightweight animatediff 2023-11-28 19:30:10 -05:00
Vladimir Mandic 378c167820 update pillow 2023-11-17 08:38:16 -05:00
Vladimir Mandic 53691c993e xyz formatting 2023-11-16 15:52:33 -05:00
Vladimir Mandic b10cdb9d3e multiple cleanups 2023-11-15 12:08:54 -05:00
Vladimir Mandic eb98547ab8 lint updates 2023-11-14 17:24:04 -05:00
Vladimir Mandic c4fa799d83
Merge pull request #2510 from midcoastal/Feat/XYZSubGrids
Feat/xyz sub grids
2023-11-14 17:17:47 -05:00
Vladimir Mandic 1de913f984 auto refresh styles on change 2023-11-14 17:16:33 -05:00
Midcoastal 8a27e1433b
Enable grid overall title. 2023-11-13 18:37:34 -05:00
Vladimir Mandic 9c7e1291a7 move save params to after generate 2023-11-11 07:59:48 -05:00
Vladimir Mandic 294af698e5 modify base/hires/refiner steps calculations 2023-11-09 12:27:07 -05:00
Vladimir Mandic f6dd495eb3 multiple fixes 2023-11-09 09:04:50 -05:00
Vladimir Mandic 28365d6b69 fix forced filename 2023-11-08 12:09:09 -05:00
Vladimir Mandic 2919774c01 improve en display 2023-11-05 08:09:40 -05:00
Vladimir Mandic 0d7807acd3
Merge branch 'dev' into temp 2023-10-31 08:48:52 -04:00
Vladimir Mandic d91338b3c7 fix seq in path 2023-10-26 12:01:55 -04:00
Vladimir Mandic 267905e6bb Revert "Merge pull request #2411 from vladmandic/master"
This reverts commit 64cce8a606, reversing
changes made to 597fc1863f.
2023-10-26 07:30:01 -04:00
Vladimir Mandic 886af2ee16 Revert "Merge pull request #2410 from vladmandic/master"
This reverts commit 597fc1863f, reversing
changes made to 4ab584e93f.
2023-10-26 07:29:49 -04:00
Vladimir Mandic 5219daa7fb Revert "Merge branch 'dev' into master"
This reverts commit 4b91ee0044, reversing
changes made to fc7e3c5721.
2023-10-26 07:17:40 -04:00
Vladimir Mandic 4b91ee0044
Merge branch 'dev' into master 2023-10-26 07:12:59 -04:00
Vladimir Mandic d135fe1383 fix fn sequence 2023-10-26 07:02:44 -04:00
Vladimir Mandic 3772716fae support lcm, switch fonts 2023-10-25 10:49:58 -04:00
Vladimir Mandic be75ed7e9f compatibility items 2023-10-22 09:58:55 -04:00
Vladimir Mandic b648acf9b4 fix windows path 2023-10-21 11:22:47 -04:00
Vladimir Mandic 02fe33cb16 fix image filename handling 2023-10-21 11:13:49 -04:00
Vladimir Mandic c22dd25868 quick fix 2023-10-20 20:11:07 -04:00
Vladimir Mandic e1c46427e0 minor fixes 2023-10-20 19:03:45 -04:00
Vladimir Mandic 6bda4fbc71 use short model name and update hints 2023-10-19 11:43:29 -04:00
Vladimir Mandic 11c073a3ca fix create style filename template 2023-10-19 10:37:03 -04:00
Vladimir Mandic 3cd7d7cca0 multiple fixes 2023-10-14 12:07:41 -04:00
Vladimir Mandic 57ce94fcde datetime fixes 2023-10-14 08:51:11 -04:00
Vladimir Mandic 74fb8fba3e extension curation 2023-10-13 15:30:51 -04:00
Vladimir Mandic 1bc7ffed73 lint fixes 2023-10-12 11:40:50 -04:00
Vladimir Mandic 7fb25b99b0 couple of img2img fixes 2023-10-11 15:41:08 -04:00
Vladimir Mandic da8b5eced0 fix int in namegen 2023-10-11 13:36:55 -04:00
Vladimir Mandic 20c2d83ad7 refactor filename pattern handling 2023-10-11 11:38:23 -04:00
Vladimir Mandic b5eaa0ccb4 fix samplers init 2023-10-09 15:42:12 -04:00
Vladimir Mandic 30fe75f205 fix recently broken extension js code loading 2023-10-04 12:35:18 -04:00
Vladimir Mandic 23593d5442 en styles phase two 2023-09-28 14:33:20 -04:00
Vladimir Mandic 4d9ccbc035 add batch info to metadata 2023-09-19 11:13:40 -04:00
Vladimir Mandic 26710417d7
Merge pull request #2222 from Aptronymist/pngfix
Correcting legacy image optimization code
2023-09-18 22:12:19 -04:00
Aptronymist cefb5959e3 Correcting legacy image optimization code
Legacy A1111 code improperly implemented Pillow image optimization options, "quality=" never applied to PNG files (or anything else), only JPEG files, per https://pillow.readthedocs.io/en/stable/handbook/image-file-formats.html#png-saving and https://pillow.readthedocs.io/en/stable/handbook/image-file-formats.html#jpeg-saving

This is now corrected, other than turning on the optimize=True, for backup and giggles, compress_level=9 is also set. For JPEG files, I also enabled optimize=True as it supposedly makes more optimized files.
2023-09-18 21:27:20 -04:00
Vladimir Mandic b35a84f505 add upscaler logging 2023-09-18 14:48:41 -04:00
Vladimir Mandic 792893e68e fix filename gen 2023-09-17 15:36:05 -04:00
Vladimir Mandic 5142b2ab30 catch empty processing object 2023-09-12 15:51:55 -04:00
Vladimir Mandic 9cf7fc4a75 add new hires with refiner and non-latent modes 2023-09-12 11:54:10 -04:00
Vladimir Mandic b94556260a fix postprocessing file name pattern 2023-09-08 13:56:05 -04:00
Vladimir Mandic 0194620ec2 cleanup options 2023-09-08 07:59:58 -04:00
Vladimir Mandic ac267d7f3f add light theme, enhance profilng and logging 2023-09-06 13:23:14 -04:00
Vladimir Mandic 5b622cdfda base and refiner mix and match 2023-09-04 15:55:47 -04:00
Vladimir Mandic 27a517cedd add missing metadata 2023-08-31 08:06:48 -04:00
Vladimir Mandic 9e2e2b8b8f fix gallery, update js logging, add en caching 2023-08-29 14:16:37 -04:00
Vladimir Mandic 05a2e12ce4 fix save metadata 2023-08-27 07:48:33 +00:00
Vladimir Mandic 6a4d4ea5b7 update logging and model hashinh 2023-08-22 18:28:09 +00:00
Vladimir Mandic 87bb354f4c implement hires for diffusers 2023-08-19 12:25:41 +00:00
Vladimir Mandic 69eaf4c664 fix batch 2023-08-12 08:32:19 +00:00
Vladimir Mandic fc8eca1c34 deallocate images on batch 2023-08-12 07:18:19 +00:00
Vladimir Mandic c5b089cbb6 major ui simplification 2023-07-26 11:39:58 -04:00
Vladimir Mandic 6c02e6a2eb add operations to metadata 2023-07-25 12:28:13 -04:00
Vladimir Mandic 14eec801ec add basename if set 2023-07-24 09:48:46 -04:00
Vladimir Mandic debec28be6 rework settings, image-watermark, safe config handling 2023-07-18 14:41:27 -04:00
Vladimir Mandic 3352876521 img2img batch processing improvements 2023-07-18 07:51:42 -04:00
Vladimir Mandic 6b26c55138 fix extra network tab detection and add heic to training options 2023-07-11 08:35:18 -04:00
Vladimir Mandic 849877ec50 version lock pillow 2023-07-06 08:50:38 -04:00
Vladimir Mandic 6e89d3b867 css optimizations 2023-07-01 15:57:10 -04:00
Vladimir Mandic 12aaeac26a change lora and lyco dirs on-the-fly 2023-07-01 10:46:11 -04:00
Vladimir Mandic 9390049288 extra options in filename pattern 2023-07-01 10:08:57 -04:00
Vladimir Mandic f42553918b filename handling 2023-06-19 07:58:12 -04:00
Vladimir Mandic eae813bc56 make image metadata optional 2023-06-16 11:39:09 -04:00
Vladimir Mandic 1d9e490ef9 ruff linting fixes 2023-06-13 12:22:39 -04:00
Vladimir Mandic cb307399dd jumbo merge 2023-06-13 11:59:56 -04:00
Vladimir Mandic 0cca4d452a add saving from process tab 2023-06-07 17:35:27 -04:00
Vladimir Mandic 549c02a874 minor fixes 2023-06-03 10:37:02 -04:00
Vladimir Mandic c7051cc1dd extra error handling during image save 2023-06-03 09:05:01 -04:00
Vladimir Mandic d25b020f61 update 2023-06-02 12:29:21 -04:00
Alexander Brown 4d20d88810
Fix typo (hmtl->html) 2023-06-01 21:54:52 -07:00
Vladimir Mandic 251dc341f9 restruct html/js and cleanup 2023-06-01 17:44:15 -04:00
Vladimir Mandic 02c9640fa5 enhance image saving 2023-06-01 15:44:38 -04:00
Vladimir Mandic efd3810860 diffusers merge 2023-05-26 22:42:03 -04:00
Vladimir Mandic 5c516332d7 bug fixes 2023-05-23 18:48:37 -04:00
Vladimir Mandic d36b16d03f refactor api auth 2023-05-23 14:31:22 -04:00
Vladimir Mandic e129e83276 updatr gradio 2023-05-22 08:42:47 -04:00
Vladimir Mandic d647bb5c05 minor updates 2023-05-21 18:49:07 -04:00
Vladimir Mandic f8f81f86e6 update prompt parser and image size 2023-05-20 13:12:50 -04:00
Vladimir Mandic df65e8e30a update clip skip and attention normalization 2023-05-18 22:16:24 -04:00
Vladimir Mandic fef49279f8 update 2023-05-18 15:41:52 -04:00
Vladimir Mandic 4d67ee67ed minor fixes 2023-05-18 07:09:38 -04:00
Vladimir Mandic 0ccda9bc8b jumbo patch 2023-05-17 14:15:55 -04:00
Vladimir Mandic 4f937be64b fix sendto metadata 2023-05-14 10:39:32 -04:00
Vladimir Mandic 62dda471a3 process images in threads 2023-05-12 14:21:26 -04:00
Vladimir Mandic 05656a54fe update extra networks 2023-05-11 09:30:34 -04:00
Vladimir Mandic 4d9fab4984 fix txt_fullfn 2023-05-08 11:56:59 -04:00
Vladimir Mandic 2af0e0c8a1 change temp files to image files 2023-05-08 09:27:50 -04:00
Vladimir Mandic 1360c6422a add fp16 test 2023-05-08 09:27:50 -04:00
Vladimir Mandic 865c0bc7a3 merge from upstream 2023-05-04 07:51:38 -04:00
Vladimir Mandic cb4cff3929 redesign logging 2023-05-02 13:57:16 -04:00
Vladimir Mandic 2166b4de06 fix exif data handler 2023-05-02 09:56:33 -04:00
Vladimir Mandic bb438efed4 update geninfo 2023-04-25 09:53:11 -04:00
Vladimir Mandic d64bb50235 handle torch cuda crashing in setup 2023-04-23 11:09:36 -04:00
Vladimir Mandic 809b4d25d0 apply patch 2023-04-23 10:18:38 -04:00
Vladimir Mandic bef352c233 fix model_name 2023-04-23 07:19:51 -04:00
Vladimir Mandic 0e7144186d jump patch 2023-04-20 11:20:27 -04:00
Vladimir Mandic ed8819b8fc lycoris, strong linting, model keyword, circular imports 2023-04-15 10:28:31 -04:00
Vladimir Mandic 2ece9782e4 handle duplicate extensions and redo exception handler 2023-04-14 09:57:53 -04:00
Vladimir Mandic 614b482ee3 major installer work 2023-04-13 11:19:15 -04:00
Vladimir Mandic 81b8294e93 switch cmdflags to settings 2023-04-12 10:40:11 -04:00
Vladimir Mandic 61032b8d9b stricter linting 2023-03-30 12:11:18 -04:00
Vladimir Mandic a4d00060eb
Merge pull request #62 from AUTOMATIC1111/master
merge from upstream
2023-03-26 10:28:05 -04:00
AUTOMATIC 4c1ad743e3 for img2img, use None as upscaler instead of erroring out if the desired upscaler is not found 2023-03-26 11:01:32 +03:00
Vladimir Mandic f181885f0c
Merge pull request #57 from AUTOMATIC1111/master
merge from upstream
2023-03-25 08:47:00 -04:00
AUTOMATIC 4697def235 bump gradio to 3.23
fix broken image dragging
2023-03-25 09:00:37 +03:00
Vladimir Mandic f6679fcc77 add global exception handler 2023-03-17 10:08:07 -04:00
Vladimir Mandic df51949f3b
Merge pull request #53 from AUTOMATIC1111/master
merge from upstream
2023-03-14 07:58:58 -04:00
Alex "mcmonkey" Goodwin af9158a8c7 update `fullfn` properly 2023-03-12 12:36:04 -07:00
Alex "mcmonkey" Goodwin 48df6d66ea add safety check in case of short extensions
so eg if a two-letter or empty extension is used, `.txt` would break, this `max` call protects that.
2023-03-12 12:33:29 -07:00
Alex "mcmonkey" Goodwin a71b7b5ec0 relocate filename length limit to better spot 2023-03-12 12:30:31 -07:00
Alex "mcmonkey" Goodwin 7fd19fa4e7 initial fix for filename length limits on *nix systems 2023-03-11 07:22:22 -08:00
Vladimir Mandic 86e89e5446
Merge pull request #46 from AUTOMATIC1111/master
merge from upstream
2023-03-11 08:02:09 -05:00
Vladimir Mandic daf12bdb3d update 2023-03-03 09:04:35 -05:00
Vladimir Mandic f2232a785e update 2023-02-27 18:09:19 -05:00
Vladimir Mandic 1f714beccb
Merge pull request #38 from AUTOMATIC1111/master
sync branches
2023-02-26 10:35:20 -05:00
Vladimir Mandic 86c0857ad8 update launcher and metadata decoder 2023-02-26 10:33:54 -05:00
missionfloyd aa108bd02a Add lossless webp option 2023-02-24 20:57:18 -07:00
w-e-w f71a3c9c3a convert resolution to int using round() 2023-02-20 17:47:20 +09:00
AUTOMATIC1111 9c4eaac61f
Merge pull request #7691 from missionfloyd/16bit-convert
Convert 16-bit greyscale to 8-bit when saving as JPEG
2023-02-19 10:15:49 +03:00
AUTOMATIC fb2354cb2a reword settings for 4chan export, remove unneded try/excepts, add try/except for actually saving JPG 2023-02-19 10:12:45 +03:00
missionfloyd 73a97cac11
Use RGB for webp
Doesn't support greyscale (L)
2023-02-09 17:04:55 -07:00
missionfloyd 463ab84180 Convert 16-bit greyscale to 8-bit when saving as JPEG 2023-02-09 02:13:49 -07:00
w-e-w fe33be6cac use Default if ValueError 2023-02-05 23:33:05 +09:00
w-e-w 6d11cda418 configurable image downscale
allowing the user to configure the image downscale parameters in setting
2023-02-05 23:12:42 +09:00
EllangoK 0ca1a64cfc adds grid margins to xyz plot and prompt matrix 2023-02-05 03:44:56 -05:00
techneconn 5a1b62e9f8 Add prompt_hash option for file/dir name pattern 2023-02-05 15:48:51 +09:00
AUTOMATIC 40e51fd6ef add margin parameter to draw_grid_annotations 2023-02-04 13:29:04 +03:00
glop102 09a142a05a Reduce grid rows if larger than number of images available
When a set number of grid rows is specified in settings, then it leads
to situations where an entire row in the grid is empty.
The most noticable example is the processing preview when the row count
is set to 2, where it shows the preview just fine but with a black
rectangle under it.
2023-01-28 19:25:52 -05:00
EllangoK e46bfa5a9e handling sub grids and merging into one 2023-01-24 02:24:32 -05:00
AUTOMATIC 3a0d6b7729 make it so that PNG images with EXIF do not lose parameters in PNG info tab 2023-01-17 23:54:23 +03:00
AUTOMATIC a8eb9e3bf8 Revert "Merge pull request #3791 from shirayu/fix/filename"
This reverts commit eed58279e7, reversing
changes made to 4ae960b01c.
2023-01-04 18:20:38 +03:00
AUTOMATIC1111 eed58279e7
Merge pull request #3791 from shirayu/fix/filename
Truncate too long filename (Fix #705)
2023-01-04 18:17:50 +03:00
AUTOMATIC ef27a18b6b Hires fix rework 2023-01-02 19:42:10 +03:00
AUTOMATIC e672cfb074 rework of callback for #6094 2023-01-01 18:37:55 +03:00
AUTOMATIC1111 6062c85d4d
Merge pull request #6094 from AlUlkesh/master
Adding image numbers on grids
2023-01-01 18:31:01 +03:00
AlUlkesh 5f12b23b8b Adding image numbers on grids
New grid option in settings enables adding of image numbers on grids. This makes identifying the images, especially in larger batches, much easier.

Revert "Adding image numbers on grids"

This reverts commit 3530c283b4b1d3a3cab40efbffe4cf2697938b6f.

Implements Callback for image grid loop

Necessary to make "Add image's number to its picture in the grid" extension possible.
2023-01-01 11:21:50 +01:00
Vladimir Mandic ae955b0146 fix rgba to rgb when using jpeg output 2022-12-26 09:56:19 -05:00
Yuval Aboulafia 3bf5591efe fix F541 f-string without any placeholders 2022-12-24 21:35:29 +02:00
AUTOMATIC1111 fac92610d2
Merge pull request #5753 from calvinballing/master
Fix various typos
2022-12-24 09:58:28 +03:00
AUTOMATIC 9441c28c94 add an option for img2img background color 2022-12-24 09:46:35 +03:00
MMaker b7c478c3eb
fix: Modify font size when unable to fit in plot
This prevents scenarios where text without line breaks will start overlapping with each other when generating X/Y plots. This is most evident when generating X/Y plots with checkpoints, as most don't contain spaces and sometimes include extra information such as the epoch, making it extra long.
2022-12-17 00:45:43 -05:00