Commit Graph

2884 Commits

Author SHA1 Message Date
Dean van Dugteren
59c6511494
fix: fallback model_checkpoint if it's empty
This fixes the following error when SD attempts to start with a deleted checkpoint:

```
Traceback (most recent call last):
  File "D:\Web\stable-diffusion-webui\launch.py", line 295, in <module>
    start()
  File "D:\Web\stable-diffusion-webui\launch.py", line 290, in start
    webui.webui()
  File "D:\Web\stable-diffusion-webui\webui.py", line 132, in webui
    initialize()
  File "D:\Web\stable-diffusion-webui\webui.py", line 62, in initialize
    modules.sd_models.load_model()
  File "D:\Web\stable-diffusion-webui\modules\sd_models.py", line 283, in load_model
    checkpoint_info = checkpoint_info or select_checkpoint()
  File "D:\Web\stable-diffusion-webui\modules\sd_models.py", line 117, in select_checkpoint
    checkpoint_info = checkpoints_list.get(model_checkpoint, None)
TypeError: unhashable type: 'list'
```
2022-12-11 17:08:51 +01:00
repligator
d5a9de1662
Update hints.js - DPM adaptive
Added mouse-over for DPM adaptive
2022-12-11 09:39:56 -05:00
Alex "mcmonkey" Goodwin
7b0a28f8ee fix hints file typo 2022-12-11 02:17:14 -08:00
Bwin4L
303df25cc2
Make the generated image count only count new images in the currently active tab 2022-12-10 22:58:06 +01:00
wywywywy
8bcdd50461 Add safetensors support to LDSR 2022-12-10 18:57:18 +00:00
MrCheeze
bd81a09eac fix support for 2.0 inpainting model while maintaining support for 1.5 inpainting model 2022-12-10 11:29:26 -05:00
MrCheeze
a1c8ad8828 unload depth model if medvram/lowvram enabled 2022-12-10 11:02:47 -05:00
AUTOMATIC1111
685f9631b5
Merge pull request #5586 from wywywywy/ldsr-improvements
LDSR improvements - cache / optimization / opt_channelslast
2022-12-10 18:22:39 +03:00
AUTOMATIC1111
0a81dd5225
Merge pull request #5585 from Bwin4L/master
Fix token counter color on dark theme
2022-12-10 18:20:28 +03:00
wywywywy
1581d5a167 Made device agnostic 2022-12-10 14:07:27 +00:00
wywywywy
6df316c881 LDSR cache / optimization / opt_channelslast 2022-12-10 13:54:29 +00:00
Bwin4L
718dbe5e82
Fix token counter color on dark theme 2022-12-10 14:51:11 +01:00
AUTOMATIC1111
7cea280a8f
Merge pull request #5447 from apolinario/patch-1
Fix WebUI not working inside of iframes
2022-12-10 16:30:16 +03:00
AUTOMATIC1111
94a35ca9d6
Merge pull request #5191 from aliencaocao/enable_checkpoint_switching_in_override_settings
Support changing checkpoint and vae through override_settings
2022-12-10 16:29:40 +03:00
AUTOMATIC
713c48ddd7 add an 'installed' tag to extensions 2022-12-10 15:05:22 +03:00
AUTOMATIC
991e2dcee9 remove NSFW filter and its dependency; if you still want it, find it in the extensions section 2022-12-10 14:54:16 +03:00
apolinario
37139d8aac No code repeat 2022-12-10 12:51:40 +01: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
AUTOMATIC1111
2028aa06c0
Merge pull request #3198 from papuSpartan/master
Add Clear Prompt button to roll_col
2022-12-10 13:35:51 +03:00
AUTOMATIC1111
854bb0b56c
Merge pull request #5179 from kaneda2004/master
Update SD Upscaler to include user selectable Scale Factor
2022-12-10 13:28:45 +03:00
AUTOMATIC1111
89237852f4
Merge pull request #5119 from 0xb8/master
Atomically rename saved image to avoid race condition with other processes
2022-12-10 13:26:07 +03:00
AUTOMATIC1111
59c2dfe1e6
Merge pull request #5361 from rick68/patch-1
Update launch.py
2022-12-10 11:25:10 +03:00
AUTOMATIC
7dab7c9759 repair #5438 2022-12-10 11:20:43 +03:00
AUTOMATIC1111
9763623610
Merge pull request #5438 from DavidVorick/prompt-matrix-keep-random
allow randomized seeds in prompt_matrix
2022-12-10 11:10:23 +03:00
AUTOMATIC1111
cce306cb67
Merge pull request #5441 from timntorres/add-5433-avoid-sending-size-option
Add option to avoid sending size between interfaces.
2022-12-10 11:07:16 +03:00
papuSpartan
6387043fd2
Merge branch 'AUTOMATIC1111:master' into master 2022-12-10 00:02:39 -08:00
AUTOMATIC1111
1d01404c56
Merge pull request #5422 from piEsposito/master
add gradio queueing on ui by default to avoid timeout on client side when share=True
2022-12-10 10:12:37 +03:00
AUTOMATIC1111
ec5e072124
Merge pull request #4841 from R-N/vae-fix-none
Fix None option of VAE selector
2022-12-10 09:58:20 +03:00
AUTOMATIC
e11d0d43b1 change color of the valid prompt to black - back to how it was 2022-12-10 09:53:54 +03:00
AUTOMATIC
bab91b1279 add Noise multiplier option to infotext 2022-12-10 09:51:26 +03:00
AUTOMATIC1111
8ee1acc1e4
Merge pull request #5373 from mezotaken/master
add noise strength parameter similar to NAI
2022-12-10 09:36:24 +03:00
AUTOMATIC1111
e5e557fa5d
Merge pull request #5404 from szhublox/merger-ram-usage
Merger ram usage
2022-12-10 09:33:39 +03:00
AUTOMATIC1111
22f916df79
Merge pull request #5502 from Bwin4L/master
Add bracket checking functionality to the txt2img/img2img prompts
2022-12-10 09:32:11 +03:00
AUTOMATIC1111
6edeabb700
Merge pull request #5489 from brkirch/set-python_cmd
macOS install improvements
2022-12-10 09:30:13 +03:00
AUTOMATIC1111
3896242e9e
Merge pull request #5415 from wywywywy/reinstate-ddpm-v1
Reinstate DDPM V1 to LDSR
2022-12-10 09:20:38 +03:00
AUTOMATIC
505ec7e4d9 cleanup some unneeded imports for hijack files 2022-12-10 09:17:39 +03:00
AUTOMATIC
7dbfd8a7d8 do not replace entire unet for the resolution hack 2022-12-10 09:14:45 +03: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
AUTOMATIC1111
4d5fe3bfc0
Merge pull request #5555 from ywx9/master
Bug fix (a few lines in modules/api/api.py)
2022-12-10 08:27:44 +03:00
AUTOMATIC1111
a42a8e9112
Merge pull request #5547 from Ju1-js/master
Make "# settings changed" grammatically correct
2022-12-10 08:20:22 +03:00
AUTOMATIC1111
feeca1954e
Merge pull request #5542 from JaySmithWpg/depth2img
Depth2Img model support: resolves #5372, partially addresses #5011
2022-12-10 07:52:20 +03:00
ywx9
9539c2045a Bug fix 2022-12-09 23:03:06 +09: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
Jay Smith
1ed4f0e228 Depth2img model support 2022-12-08 20:50:08 -06: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
Bwin4L
02f566f684
Add bracket checking functionality to the txt2img/img2img prompts and negative prompts. 2022-12-07 16:14:05 +01:00
brkirch
8bc16b7582 Add psutil if using macOS to requirements.txt 2022-12-06 19:54:01 -05:00
brkirch
a7b1ab28d5 Set install_dir (per Ephil012's suggestion)
Set install_dir to a correct value for macOS. Thanks to @Ephil012 for pointing out this is needed.
2022-12-06 19:49:30 -05:00
apolinario
8eb638cdd3
style change 2022-12-06 15:14:22 +01:00
apolinario
1075819b16
Use shadowRoot if inside of an iframe and don't use it if outside
This makes sure it will work everywhere
2022-12-06 15:13:41 +01:00