stable-diffusion-webui
stable-diffusion-webui copied to clipboard
[Bug]: recall saved style can not apply the dynamic prompts
Is there an existing issue for this?
- [X] I have searched the existing issues and checked the recent builds/commits
What happened?
I saved a style form prompt with dynamic prompt on. I checked the styles.csv in the root folder, the dynamic prompt was saved successeful. But, when I try to recall it, the dynamic prompt feature lost.
Steps to reproduce the problem
- write a prompt with dynamic prompt grammar, and save it as a style
- clear the prompt, and recall the saved style
What should have happened?
when recall the style, it should include the dynamic prompt grammar
Commit where the problem happens
ea9bd9fc7409109adcd61b897abc2c8881161256
What platforms do you use to access the UI ?
Windows
What browsers do you use to access the UI ?
Google Chrome, Brave
Command Line Arguments
--xformers --no-half
List of extensions
| Extension | URL | Update |
|---|---|---|
| StylePile | https://github.com/some9000/StylePile | unknown |
| deforum-for-automatic1111-webui | https://github.com/deforum-art/deforum-for-automatic1111-webui | unknown |
| sd-dynamic-prompts | https://github.com/adieyal/sd-dynamic-prompts | unknown |
| sd-webui-riffusion | https://github.com/enlyth/sd-webui-riffusion | unknown |
| sd_dreambooth_extension | https://github.com/d8ahazard/sd_dreambooth_extension | unknown |
| stable-diffusion-webui-depthmap-script | https://github.com/thygate/stable-diffusion-webui-depthmap-script.git | unknown |
| stable-diffusion-webui-images-browser | https://github.com/yfszzx/stable-diffusion-webui-images-browser | unknown |
| stable-diffusion-webui-instruct-pix2pix | https://github.com/Klace/stable-diffusion-webui-instruct-pix2pix.git | unknown |
| LDSR | built-in | |
| Lora | built-in | |
| ScuNET | built-in | |
| SwinIR | built-in | |
| prompt-bracket-checker | built-in |
Console logs
Already up to date.
venv "D:\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: ea9bd9fc7409109adcd61b897abc2c8881161256
Installing requirements for Web UI
Installing sd-dynamic-prompts requirements.txt
Initializing Riffusion
#######################################################################################################
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: 21ddebabb47274255d516e655f997d9ddadc0fe4
SD-WebUI revision: ea9bd9fc7409109adcd61b897abc2c8881161256
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.16rc425 installed.
[+] torch version 1.13.1+cu117 installed.
[+] torchvision version 0.14.1+cu117 installed.
#######################################################################################################
Installing imageio-ffmpeg requirement for depthmap script
Installing pyqt5 requirement for depthmap script
Launching Web UI with arguments: --xformers --no-half
SD-Webui API layer loaded
Loading weights [4711ff4dd2] from D:\stable-diffusion-webui\models\Stable-diffusion\SD2.1\v2-1_768-nonema-pruned.ckpt
Creating model from config: D:\stable-diffusion-webui\repositories\stable-diffusion-stability-ai\configs\stable-diffusion\v2-inference-v.yaml
LatentDiffusion: Running in v-prediction mode
DiffusionWrapper has 865.91 M params.
Applying xformers cross attention optimization.
Textual inversion embeddings loaded(8): CarHelper, FloralMarble, HyperFluid, knollingcase, rzviceb6, ThisHonor, UlukInkSketch2, WEBUI
Textual inversion embeddings skipped(4): Style-Petal-neg, Style-Petal, PlanIt, _SamDoesArt2_
Model loaded in 5.2s (load weights from disk: 2.0s, find config: 0.7s, create model: 0.1s, apply weights to model: 0.5s, move model to device: 0.7s, load textual inversion embeddings: 1.1s).
Running on local URL: http://127.0.0.1:7860
To create a public link, set `share=True` in `launch()`.
Additional information
No response
The problem should be on the gradio version. Because the new style template depends on a higher version of gradio. So, it is necessary to update gradio to 3.16.2
Taken from issue #7273
The problem should be on the gradio version. Because the new style template depends on a higher version of gradio. So, it is necessary to update gradio to 3.16.2
Taken from issue #7273
thank you very much, it works!