- 25 Mar, 2023 1 commit
-
-
butaixianran authored
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.
-
- 14 Mar, 2023 8 commits
-
-
AUTOMATIC1111 authored
Add correction file filename length limits on *nix systems
-
AUTOMATIC authored
-
AUTOMATIC1111 authored
add progressbar to unipc sampler
-
AUTOMATIC1111 authored
initialize extra_network_data before use
-
AUTOMATIC1111 authored
Update ui_extra_networks.py
-
willtakasan authored
I updated it so that no error message is displayed when setting a webp for the preview image.
-
AUTOMATIC authored
-
Vladimir Mandic authored
-
- 13 Mar, 2023 7 commits
-
-
high_byte authored
-
Alex "mcmonkey" Goodwin authored
-
Alex "mcmonkey" Goodwin authored
so eg if a two-letter or empty extension is used, `.txt` would break, this `max` call protects that.
-
Alex "mcmonkey" Goodwin authored
-
AUTOMATIC authored
-
AUTOMATIC authored
-
AUTOMATIC authored
-
- 12 Mar, 2023 24 commits
-
-
AUTOMATIC authored
-
AUTOMATIC1111 authored
force refresh tqdm before close
-
Vladimir Mandic authored
-
AUTOMATIC authored
-
AUTOMATIC authored
-
AUTOMATIC1111 authored
fix: gradio's ValueError about fetching extensions files
-
AUTOMATIC1111 authored
allow usage of latest fastapi
-
AUTOMATIC1111 authored
Use emojis for extra network buttons
-
AUTOMATIC1111 authored
Fix dims typo in unipc
-
AUTOMATIC1111 authored
Fix image generation on macOS 13.3 betas
-
AUTOMATIC1111 authored
add face restoration option to xyz_grid
-
AUTOMATIC1111 authored
feat: better lightbox when not enable zoom
-
AUTOMATIC1111 authored
Add a way for API txt2img and img2img requests to pass args to always on scripts
-
bluelovers authored
-
high_byte authored
-
brkirch authored
The test isn't working correctly on macOS 13.3 and the bool tensor fix for cumsum is currently always needed anyway, so enable the fix by default.
-
EllangoK authored
-
-
Vespinian authored
-
Kilvoctu authored
don't use emojis for extra network buttons; remove 'close'
-
AUTOMATIC authored
-
Vespinian authored
-
-
Vespinian authored
-