Age | Commit message (Collapse) | Author |
|
api error handler
|
|
|
|
fix output-html text overflow.
|
|
|
|
GRADIO_ANALYTICS_ENABLED=True
|
|
preserve privacy by disabling gradio analytics globally
|
|
Fix img2img-alternative-test script for SD v2.x
|
|
|
|
Don't bubble when metadata_button is clicked
|
|
|
|
Fix problem of install.py when data-dir is specified
|
|
Unload and re-load checkpoint to VRAM on request (API & Manual)
|
|
Move `load_file_from_url` import
|
|
Fix scripts load order
|
|
Add ability to display and/or save inpainting mask and masked composite
|
|
disable gradio css transitions
|
|
fix variable typo
|
|
Support git submodule for extension and Fix Windows PermissionError
|
|
Loopback Script Updates
|
|
Fixes xyz extra_generation_params not being saved (previously worked)
|
|
fixed typo in prompt-bracket-checker.js which leads to js error
|
|
into the main page
|
|
Fix None type error for TI module
|
|
Add PyTorch 2.0 support for macOS, fix image generation on macOS 13.2.X
|
|
--upcast-sampling support for CUDA
|
|
|
|
|
|
|
|
|
|
fix broken image dragging
|
|
|
|
more stylistic changes
|
|
more stylistic changes
|
|
fix dropdown obscured by live preview
stylistic changes
|
|
|
|
|
|
|
|
|
|
fix broken image dragging
|
|
|
|
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.
|
|
|
|
|
|
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.
|
|
Credit to danieldk (https://github.com/explosion/curated-transformers/pull/124) for the workaround this is based on.
|
|
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.
|
|
|
|
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.
|
|
- 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
|
|
- 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
|