Commit Graph

456 Commits

Author SHA1 Message Date
Allen Benz 61a273236f
Fix clip interrogate from the webui
A recent change made the image RGBA, which makes the clip interrogator unhappy.
deepbooru and calling the interrogator from the api already do the conversion so this is the only place that needed it.
2022-12-24 20:23:12 -08:00
AUTOMATIC c0a8401b5a rename the option for img2img latent upscale 2022-12-24 11:12:17 +03:00
AUTOMATIC1111 b2dbd4d698
Merge pull request #5521 from AndrewRyanChama/ryan/img2imglatentscale
Add latent upscale option to img2img
2022-12-24 11:10:35 +03:00
AUTOMATIC1111 ee65237d69
Merge pull request #5747 from yuvalabou/singleton-comparison
Format singleton comparisons
2022-12-24 10:17:38 +03:00
AUTOMATIC 9441c28c94 add an option for img2img background color 2022-12-24 09:46:35 +03:00
Yuval Aboulafia 957e15c464 Correct singleton comparisons 2022-12-14 20:59:33 +02:00
AUTOMATIC d06592267c use less javascript for this non-js-only implementation of the clear prompt button. 2022-12-10 13:46:18 +03:00
papuSpartan 6387043fd2
Merge branch 'AUTOMATIC1111:master' into master 2022-12-10 00:02:39 -08:00
AUTOMATIC1111 2641d1b83b
Merge pull request #4978 from aliencaocao/support_any_resolution
Patch UNet Forward to support resolutions that are not multiples of 64
2022-12-10 08:45:41 +03:00
Ju1-js ce04ba71b8 Make # settings changed message grammatically correct
Make the ": " in the settings changed message not show if 0 settings were changed.
"0 settings changed: ." -> "0 settings changed."
2022-12-08 22:47:45 -08:00
Andrew Ryan 358a8628f6 Add latent upscale option to img2img
Recently, the option to do latent upscale was added to txt2img highres
fix. This feature runs by scaling the latent sample of the image, and
then running a second pass of img2img.

But, in this edition of highres fix, the image and parameters cannot be
changed between the first pass and second pass. We might want to do a
fixup in img2img before doing the second pass, or might want to run the
second pass at a different resolution.

This change adds the option for img2img to perform its upscale in latent
space, rather than image space, giving very similar results to highres
fix with latent upscale.  The result is not exactly the same because
there is an additional latent -> decoder -> image -> encoder -> latent
that won't happen in highres fix, but this conversion has relatively
small losses
2022-12-08 07:09:09 +00:00
AUTOMATIC 8504db5170 fix #4459 breaking inpainting when the option is not specified. 2022-12-04 01:04:24 +03:00
AUTOMATIC b6e5edd746 add built-in extension system
add support for adding upscalers in extensions
move LDSR, ScuNET and SwinIR to built-in extensions
2022-12-03 18:06:33 +03:00
AUTOMATIC1111 5cd5a672f7
Merge pull request #4459 from kavorite/color-sketch-inpainting
add `--gradio-inpaint-tool` and option to specify `color-sketch`
2022-12-03 10:06:27 +03:00
Billy Cao 3a724e91a2 Change to steps of 8 2022-11-30 20:52:32 +08:00
AUTOMATIC 0b5dcb3d7c fix an error that happens when you type into prompt while switching model, put queue stuff into separate file 2022-11-28 09:00:10 +03:00
AUTOMATIC 8c13f3a2a5 cherrypick from #4971 2022-11-27 16:35:35 +03:00
AUTOMATIC dac9b6f15d add safetensors support for model merging #4869 2022-11-27 15:51:29 +03:00
AUTOMATIC1111 a89d7f4f38
Merge pull request #4913 from dtlnor/deprecated-deepdanbooru-patch
Remove cmd args requirement for deepdanbooru
2022-11-27 14:19:32 +03:00
AUTOMATIC b48b7999c8 Merge remote-tracking branch 'flamelaw/master' 2022-11-27 12:19:59 +03:00
AUTOMATIC b006382784 serve images from where they are saved instead of a temporary directory
add an option to choose a different temporary directory in the UI
add an option to cleanup the selected temporary directory at startup
2022-11-27 11:52:53 +03:00
Billy Cao 349f0461ec
Merge branch 'master' into support_any_resolution 2022-11-27 12:39:31 +08:00
AUTOMATIC 64c7b7975c restore hypernetworks to seemingly working state 2022-11-26 16:45:57 +03:00
AUTOMATIC 1123f52cad add 1024 module for hypernets for the new open clip 2022-11-26 16:37:37 +03:00
AUTOMATIC ce6911158b Add support Stable Diffusion 2.0 2022-11-26 16:10:46 +03:00
Billy Cao adb6cb7619 Patch UNet Forward to support resolutions that are not multiples of 64
Also modifed the UI to no longer step in 64
2022-11-23 18:11:24 +08:00
dtlnor 9ae30b3450 remove cmd args requirement for deepdanbooru 2022-11-21 12:53:55 +09:00
AUTOMATIC c81d440d87 moved deepdanbooru to pure pytorch implementation 2022-11-20 16:39:20 +03:00
flamelaw bd68e35de3 Gradient accumulation, autocast fix, new latent sampling method, etc 2022-11-20 12:35:26 +09:00
AUTOMATIC 3596af0749 Add API for scripts to add elements anywhere in UI. 2022-11-19 19:10:28 +03:00
AUTOMATIC 5a6387e189 make it possible to change models etc by editing options using API 2022-11-19 15:15:24 +03:00
AUTOMATIC1111 4b22ec4138
Merge pull request #4759 from dtlnor/kill-gradio-progress-bar
Hide Gradio progress again
2022-11-19 13:49:21 +03:00
AUTOMATIC1111 89daf778fb
Merge pull request #4812 from space-nuko/feature/interrupt-preprocessing
Add interrupt button to preprocessing
2022-11-19 13:26:33 +03:00
AUTOMATIC cdc8020d13 change StableDiffusionProcessing to internally use sampler name instead of sampler index 2022-11-19 12:01:51 +03:00
space-nuko c8c40c8a64 Add interrupt button to preprocessing 2022-11-17 18:05:29 -08:00
dtlnor 72b52fbb77 add css override 2022-11-16 13:08:03 +09:00
Liam b98740129c added event listener for the image gallery modal; moved js to separate file 2022-11-10 13:14:04 -05:00
Liam 81f2575df9 updating the displayed generation info when user clicks images in the gallery. feature request 4415 2022-11-09 15:24:31 -05:00
kavorite 59bb1d36ea blur mask with color-sketch + add paint transparency slider 2022-11-08 22:06:29 -05:00
kavorite c34542a483 add new color-sketch state to img2img invocation 2022-11-08 03:25:59 -05:00
AUTOMATIC 1610b32584 add callback for creating a tab in train UI 2022-11-08 08:38:10 +03:00
AUTOMATIC c5334fc56b fix javascript duplication bug after pressing the restart UI button 2022-11-08 08:35:01 +03:00
kavorite 9ed4a126bd add gradio-inpaint-tool; color-sketch 2022-11-07 19:58:49 -05:00
papuSpartan 00ebc26c4e
Merge branch 'AUTOMATIC1111:master' into master 2022-11-06 21:05:28 -06:00
AUTOMATIC 32c0eab895 load all settings in one call instead of one by one when the page loads 2022-11-06 14:39:41 +03:00
AUTOMATIC e5b4e3f820 add tags to extensions, and ability to filter out tags
list changed Settings keys in UI
do not print VRAM/etc stats everywhere but in calls that use GPU
2022-11-06 10:12:53 +03:00
AUTOMATIC a2a1a2f727 add ability to create extensions that add localizations 2022-11-06 09:02:35 +03:00
AngelBottomless 467d8b967b
Fix errors from commit f2b697 with --hide-ui-dir-config
f2b69709ea
2022-11-05 04:24:42 +09:00
AUTOMATIC1111 2913b9f025
Merge pull request #4178 from HeyImKyu/PreviewOnBatchCompletion
Added option to preview Created images on batch completion.
2022-11-04 10:59:27 +03:00
AUTOMATIC 321e13ca17 produce a readable error message when setting an option fails on the settings screen 2022-11-04 10:35:30 +03:00