3930 Commits (68953a4705b7f04d82f6cfb4eb2e67756ec666ca)
 

Author SHA1 Message Date
AUTOMATIC 9e1afa9eb4 bump gradio to 3.23
fix broken image dragging
3 years ago
FNSpd a9eab236d7
Update devices.py 3 years ago
butaixianran 803d44c474
Fix None type error for TI module
When user using model_name.png as a preview image, textural_inversion.py still treat it as an embeding, and didn't handle its error, just let python throw out an None type error like following:
```bash
  File "D:\Work\Dev\AI\stable-diffusion-webui\modules\textual_inversion\textual_inversion.py", line 155, in load_from_file
    name = data.get('name', name)
AttributeError: 'NoneType' object has no attribute 'get'
```

With just a simple `if data:` checking as following, there will be no error, breaks nothing, and now this module can works fine with user's preview images.
Old code:  
```python
                data = extract_image_data_embed(embed_image)
                name = data.get('name', name)
```
New code:  
```python
                data = extract_image_data_embed(embed_image)
                if data:
                    name = data.get('name', name)
                else:
                    # if data is None, means this is not an embeding, just a preview image
                    return
```

Also, since there is no more errors on textual inversion module, from now on, extra network can set "model_name.png" as preview image for embedings.
3 years ago
FNSpd 280ed8f00f
Update sd_hijack_optimizations.py 3 years ago
FNSpd beb7dda5d6
Update sd_hijack_unet.py 3 years ago
brkirch 27fe3eb6a9 Add workaround for MPS layer_norm on PyTorch 2.0
On PyTorch 2.0, with MPS layer_norm only accepts float32 inputs. This was fixed shortly after 2.0 was finalized so the workaround can be applied with an exact version match.
3 years ago
brkirch c5142e2fbe Add workaround for broken nn.Linear on macOS 13.2
Credit to danieldk (https://github.com/explosion/curated-transformers/pull/124) for the workaround this is based on.
3 years ago
James Railton a9eef1fbb1 Fix "masked content" in loopback script
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.
3 years ago
carat-johyun 92e173d414 fix variable typo 3 years ago
catboxanon caf84e8233 Expose inpainting mask and composite
For inpainting, this exposes the mask and masked composite and gives
the user the ability to display these in the web UI,
save to disk, or both.
3 years ago
sumof2primes cd3cd0fca0 Fix scripts load order
- 1st webui, 2nd extensions-builtin, 3rd extensions
 - to load scripts independent of --data-dir
 - change load order key [x.basedir, x.filename, x.path] to [orderby(x.basedir), x.filename, x.path]

e.g., scripts/xyz_grid.py dependent extentions should loaded later
extensions\sd-webui-controlnet\scripts\xyz_grid_support.py
extensions\sd-webui-additional-networks\scripts\xyz_grid_support.py
3 years ago
sumof2primes 64b7e83823 Fix scripts load order
- 1st webui, 2nd extensions-builtin, 3rd extensions
 - to load scripts independent of --data-dir
 - change load order key [x.basedir, x.filename, x.path] to [orderby(x.basedir), x.filename, x.path]

e.g., scripts/xyz_grid.py dependent extentions should loaded later
extensions\sd-webui-controlnet\scripts\xyz_grid_support.py
extensions\sd-webui-additional-networks\scripts\xyz_grid_support.py
3 years ago
EllangoK e7ac09b25a fixes xyz extra_generation_params not being saved 3 years ago
ArrowM 00bd271faf Move `load_file_from_url`
Why?
one of the internal calls of `load_file_from_url` import cv2, which locks the cv2 site-package, which extensions may (and in our case, is) breaking the installation of some libraries. The base project should be limiting its import of unnecessary libraries when possible during the installation phase.
3 years ago
James Railton 33b8539147 Loopback Script Updates
- 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
3 years ago
FNSpd 2f0181405f
Update lora.py 3 years ago
FNSpd c84c9df737
Update sd_hijack_optimizations.py 3 years ago
FNSpd 91cfa9718c
Update sd_hijack_unet.py 3 years ago
FNSpd 254d994643
Update devices.py 3 years ago
Φφ 4cbbb881ee Unload checkpoints on Request
…to free VRAM.

New Action buttons in the settings to manually free and reload checkpoints, essentially
juggling models between RAM and VRAM.
3 years ago
AUTOMATIC d3dcb05904 fix extra networks ui 3 years ago
AUTOMATIC 6eacaad4a9 enable queue by default
more stylistic changes
3 years ago
AUTOMATIC f93547be18 hide delete button for single-item dropdown
more stylistic changes
3 years ago
AUTOMATIC 46482decd5 fix ctrl+up/down attention edit
fix dropdown obscured by live preview
stylistic changes
3 years ago
missionfloyd 8e3ced73a8 Add event.stopPropagation() to extraNetworksShowMetadata()
Prevent bubbling the same way "replace preview" does
3 years ago
Alex "mcmonkey" Goodwin c9c692c4d9 cleanup the img2img alt file a bit 3 years ago
Alex "mcmonkey" Goodwin 05ec128ca9 fix img2img alt for SD v2.x 3 years ago
AUTOMATIC 8ea8e712c4 initial gradio 3.22 support 3 years ago
missionfloyd 64fc936738
Don't bubble when metadata_button is clicked 3 years ago
Michael Bachmann cf17dfcd64 fixed typo in prompt-bracket-checker.js which leads to js error 3 years ago
whw1sfb e5dd5d7335
fix output-html text overflow. 3 years ago
nonnonstop b9a66b02d0
Fix problem of install.py when data-dir is specified 3 years ago
Nicolas Patry 4f415ad639 Updating safetensors version (fully backward compatible)
- Main takeaway is that the newly created files should load better
  because pointer alignment is forced
3 years ago
Ftps 6f5a5ad205
Delete settings.json 3 years ago
Ftps 147d2922ff Cross device link 3 years ago
Vladimir Mandic 5387576c59
api error handler 3 years ago
high_byte 79d261b7d4 disable gradio analytics globally 3 years ago
Vladimir Mandic 250193ee93
disable gradio css transitions 3 years ago
Ftps 79ed567b12 remove unused library
I'm sorry I forgot.
3 years ago
Ftps 4845db4e32 Update ui_extensions.py
Add git submodule and Fix WinError
3 years ago
Vladimir Mandic f2ed6295b9
make it module specific 3 years ago
AUTOMATIC1111 a9fed7c364
Merge pull request #8503 from mcmonkey4eva/filename-length-limit-fix
Add correction file filename length limits on *nix systems
3 years ago
AUTOMATIC 6a04a7f20f fix an error loading Lora with empty values in metadata 3 years ago
AUTOMATIC1111 8b35b64e11
Merge pull request #8589 from vladmandic/unipc
add progressbar to unipc sampler
3 years ago
AUTOMATIC1111 f9b0465c8b
Merge pull request #8588 from hananbeer/fix/undefined_extra_network_data
initialize extra_network_data before use
3 years ago
AUTOMATIC1111 58c4777cc0
Merge pull request #8607 from willtakasan/patch-2
Update ui_extra_networks.py
3 years ago
willtakasan 4281432594
Update ui_extra_networks.py
I updated it so that no error message is displayed when setting a webp for the preview image.
3 years ago
AUTOMATIC c19530f1a5 Add view metadata button for Lora cards. 3 years ago
Vladimir Mandic 03a80f198e
add pbar to unipc 3 years ago
high_byte 4d26c7da57 initialize extra_network_data before use 3 years ago