Commit Graph

426 Commits

Author SHA1 Message Date
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
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
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
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
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
AUTOMATIC f2b69709ea move option access checking to options class out of various places scattered through code 2022-11-04 09:42:25 +03:00
AUTOMATIC1111 4918eb6ce4
Merge branch 'master' into hn-activation 2022-11-04 09:02:15 +03:00
timntorres e533ff61c1 Lift extras generate button a la #4246. 2022-11-03 22:28:22 -07:00
Kyu♥ f1b6ac64e4 Added option to preview Created images on batch completion. 2022-11-02 17:24:42 +01:00
AUTOMATIC1111 e359268be9
Merge pull request #3976 from victorca25/esrgan_fea
multiple trivial changes for "extras" models
2022-11-02 14:09:38 +03:00
AUTOMATIC 4a8cf01f6f remove duplicate code from #3970 2022-11-02 12:12:32 +03:00
AUTOMATIC 95c6308ccd switch to gradio 3.8 2022-11-02 09:48:02 +03:00
AUTOMATIC 5510c282b1 fix for extensions' javascript not loading 2022-11-02 07:26:31 +03:00
AUTOMATIC 910a097ae2 add initial version of the extensions tab
fix broken Restart Gradio button
2022-10-31 17:37:02 +03:00
victorca25 c9bb33dd43 add resrgan 8x, allow use 1x and up to 8x extra models, move BSRGAN model, add nearest 2022-10-30 12:54:06 +01:00
AUTOMATIC 35c45df28b fix broken ↙ button, fix field paste ignoring most of useful fields for for #3768 2022-10-29 10:56:19 +03:00
AUTOMATIC 28e6d4a54e add element ids for save buttons for #3798 2022-10-29 09:13:36 +03:00
AUTOMATIC1111 76086f6668
Merge branch 'master' into modal-save-button-and-shortcut 2022-10-29 09:11:00 +03:00
AUTOMATIC af547f63c3 Merge branch 'Inspiron' 2022-10-29 08:48:11 +03:00