Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug]: Prompt Styles selected and applied work but both prompt boxes appear empty #12930

Closed
1 task done
LordFluffington opened this issue Aug 31, 2023 · 2 comments
Closed
1 task done
Labels
bug-report Report of a bug, yet to be confirmed

Comments

@LordFluffington
Copy link

Is there an existing issue for this?

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

What happened?

When selecting a saved style and clicking apply the prompt is loaded and functions correctly when rendered but both prompt boxes are completely empty without the ability to know or edit what in them.

Steps to reproduce the problem

  1. go to styles box
  2. select style
  3. click blue arrow to apply style
  4. style is loaded
  5. prompt boxes appear completely empty but actually have words in them and function.

What should have happened?

Prompt boxes should have the loaded style prompt words inside them and function correctly

Sysinfo

sysinfo-2023-08-31-22-20.txt

What browsers do you use to access the UI ?

Mozilla Firefox

Console logs

E:\Stable Diffusion\stable-diffusion-webui>git pull
remote: Enumerating objects: 4, done.
remote: Counting objects: 100% (4/4), done.
remote: Total 4 (delta 3), reused 4 (delta 3), pack-reused 0
Unpacking objects: 100% (4/4), 388 bytes | 1024 bytes/s, done.
From https://github.com/AUTOMATIC1111/stable-diffusion-webui
 * [new branch]        fix-batch-img2img-output-dir-with-script -> origin/fix-batch-img2img-output-dir-with-script
Already up to date.
venv "E:\Stable Diffusion\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)]
Version: v1.6.0
Commit hash: 5ef669de080814067961f28357256e8fe27544f4
Installing requirements
If submitting an issue on github, please provide the full startup log for debugging purposes.

Initializing Dreambooth
Dreambooth revision: cf086c536b141fc522ff11f6cffc8b7b12da04b9
Successfully installed fastapi-0.94.1

[+] xformers version 0.0.20 installed.
[+] torch version 2.0.1+cu118 installed.
[+] torchvision version 0.15.2+cu118 installed.
[+] accelerate version 0.21.0 installed.
[+] diffusers version 0.19.3 installed.
[+] transformers version 4.30.2 installed.
[+] bitsandbytes version 0.35.4 installed.
Launching Web UI with arguments: --listen --xformers
Loading weights [fa1224c923] from E:\Stable Diffusion\stable-diffusion-webui\models\Stable-diffusion\icbinpICantBelieveIts_seco.safetensors
Creating model from config: E:\Stable Diffusion\stable-diffusion-webui\configs\v1-inference.yaml
Model loaded in 4.0s (load weights from disk: 0.2s, create model: 0.3s, apply weights to model: 1.2s, load textual inversion embeddings: 1.1s, calculate empty prompt: 1.1s).
Applying attention optimization: xformers... done.
E:\Stable Diffusion\stable-diffusion-webui\extensions\sd_dreambooth_extension\scripts\main.py:257: GradioDeprecationWarning: The `style` method is deprecated. Please set these arguments in the constructor instead.
  with gr.Row().style(equal_height=False):
CUDA SETUP: Loading binary E:\Stable Diffusion\stable-diffusion-webui\venv\lib\site-packages\bitsandbytes\libbitsandbytes_cudaall.dll...
E:\Stable Diffusion\stable-diffusion-webui\extensions\sd_dreambooth_extension\scripts\main.py:1047: GradioDeprecationWarning: The `style` method is deprecated. Please set these arguments in the constructor instead.
  db_gallery = gr.Gallery(
E:\Stable Diffusion\stable-diffusion-webui\extensions\sd_dreambooth_extension\scripts\main.py:1047: GradioDeprecationWarning: The 'grid' parameter will be deprecated. Please use 'columns' in the constructor instead.
  db_gallery = gr.Gallery(
Running on local URL:  http://0.0.0.0:7860

To create a public link, set `share=True` in `launch()`.
Startup time: 71.9s (prepare environment: 50.8s, import torch: 3.8s, import gradio: 1.0s, setup paths: 0.8s, initialize shared: 0.3s, other imports: 3.5s, setup codeformer: 0.3s, list SD models: 0.1s, load scripts: 5.8s, create ui: 1.2s, gradio launch: 4.2s).

Additional information

No response

@LordFluffington LordFluffington added the bug-report Report of a bug, yet to be confirmed label Aug 31, 2023
@YellowRoseCx
Copy link

same

@catboxanon
Copy link
Collaborator

Resolved by #12975 and 9cebe30, closing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug-report Report of a bug, yet to be confirmed
Projects
None yet
Development

No branches or pull requests

3 participants