Repository: AUTOMATIC1111/stable-diffusion-webui

Issue #7273: [Bug]: "Apply selected styles to current prompt" does not do anything
Created: 2023-01-27T12:38:25Z
Is there an existing issue for this?

 I have searched the existing issues and checked the recent builds/commits

What happened?
The button "Apply selected styles to current prompt" to load saved prompts does not apply the prompts. Both prompt fields flicker shortly, but nothing happens. This bug did not occur before the "show extra networks" button was added.
Info:
Python revision: 3.10.6 (tags/v3.10.6:9c7b4bd, Aug  1 2022, 21:53:49) [MSC v.1932 64 bit (AMD64)]
Dreambooth revision: 17c3864803ebb50615205271de687be96cfc96e8
SD-WebUI revision: 7a14c8a
Steps to reproduce the problem

Go to web UI
Save a custom prompt
Load custom prompt by pressing "Apply selected styles to current prompt"

What should have happened?
Prompts load from csv file into positive and negative prompt field.
Commit where the problem happens
7a14c8a
What platforms do you use to access UI ?
Windows
What browsers do you use to access the UI ?
Google Chrome
Command Line Arguments
--xformers --listen --gradio-auth test:test
Additional information, context and logs
No response

Duplicate issue #7591: [Bug]: Selecting styles and clicking the "Apply Style" the style are not applied anymore!
Created: 2023-02-06T09:55:34Z
Is there an existing issue for this?

 I have searched the existing issues and checked the recent builds/commits

What happened?
Hi,
After update the SD as normal i do download it from here and past in my folder, but now i lose the the ability to select my saved style presets and apply them to the prompt!
Steps to reproduce the problem

I select my style in the preset styles
I press apply it
but the style dont apply to the prompt stays empty!

What should have happened?
I always used this feature and working all perfect before, but now dont work!
Commit where the problem happens
hit the apply style buttom
What platforms do you use to access the UI ?
Windows
What browsers do you use to access the UI ?
Microsoft Edge
Command Line Arguments
No
List of extensions
a1111-sd-webui-haku-img
deforum |  
depthmap2mask
openOutpaint-webUI-extension
sd-webui-additional-networks
sd_dreambooth_extension |
stable-diffusion-webui-instruct-pix2pix |
LDSR
Lora  
ScuNET   
SwinIR  
prompt-bracket-checker
Console logs
venv "C:\Users\Sergio\SD2\stable-diffusion-webui\venv\Scripts\Python.exe"
Python 3.10.6 (tags/v3.10.6:9c7b4bd, Aug  1 2022, 21:53:49) [MSC v.1932 64 bit (AMD64)]
Commit hash: b5d705e26324e1069e82dda149f7bf494da31142
Installing requirements for Web UI



#######################################################################################################
Initializing Dreambooth
If submitting an issue on github, please provide the below text for debugging purposes:

Python revision: 3.10.6 (tags/v3.10.6:9c7b4bd, Aug  1 2022, 21:53:49) [MSC v.1932 64 bit (AMD64)]
Dreambooth revision: df2f3956065ffd2daf0021a136530462b9715f4b
SD-WebUI revision: b5d705e26324e1069e82dda149f7bf494da31142

Checking Dreambooth requirements...
[+] bitsandbytes version 0.35.0 installed.
[+] diffusers version 0.10.2 installed.
[+] transformers version 4.25.1 installed.
[+] xformers version 0.0.14.dev0 installed.
[+] torch version 1.13.1+cu117 installed.
[+] torchvision version 0.14.1+cu117 installed.

#######################################################################################################

Launching Web UI with arguments: --xformers --api
Moving BSRGAN.pth from C:\Users\Sergio\SD2\stable-diffusion-webui\models\BSRGAN to C:\Users\Sergio\SD2\stable-diffusion-webui\models\ESRGAN.
[AddNet] Updating model hashes...
0it [00:00, ?it/s]
[AddNet] Updating model hashes...
0it [00:00, ?it/s]
SD-Webui API layer loaded
Loading weights [2495246767] from C:\Users\Sergio\SD2\stable-diffusion-webui\models\Stable-diffusion\kkwUNIMIND_v10.safetensors
Creating model from config: C:\Users\Sergio\SD2\stable-diffusion-webui\models\Stable-diffusion\kkwUNIMIND_v10.yaml
LatentDiffusion: Running in eps-prediction mode
DiffusionWrapper has 859.52 M params.
Applying xformers cross attention optimization.
Textual inversion embeddings loaded(18): arq-render, dudaemb-1000, dudaemb-1500, dudaemb-2000, dudaemb-2500, dudaemb-3000, dudaemb, dudafot-1500, dudafot-2000, dudafot-2500, dudafot-3000, dudafot-3500, dudafot-4000, dudafot, midarchi1, midarchi2, my-prompt-word, my-prompt-word_bk
Textual inversion embeddings skipped(9): anthro, cartoonish_doll, HyperFluid, midjourney, midjourney_arch, mj-gs, pixelart, pixelizer, vray-render
Model loaded in 4.2s (create model: 0.5s, apply weights to model: 0.7s, apply half(): 0.8s, move model to device: 0.9s, load textual inversion embeddings: 1.3s).
add tab
Running on local URL:  http://127.0.0.1:7860

To create a public link, set `share=True` in `launch()`.
Additional information
No response

Closing comment (2023-08-07T03:53:51Z): Duplicate of #7273