AUTOMATIC1111 / stable-diffusion-webui

Stable Diffusion web UI
GNU Affero General Public License v3.0
139.44k stars 26.44k forks source link

[Bug]: can't save prompt / no button #13339

Open johndpope opened 11 months ago

johndpope commented 11 months ago

Is there an existing issue for this?

What happened?

Screenshot from 2023-09-21 13-35-25

Steps to reproduce the problem

how to get this button back? image

What should have happened?

should not be hidden

Sysinfo

git branch 1.6 / master

vertical aligned screen / portrait mode

What browsers do you use to access the UI ?

Google Chrome

Console logs

a

Additional information

No response

silent780 commented 11 months ago

same issue, No idea why canceled the save button.

johndpope commented 11 months ago

it's like someone who didn't know what this button does - and how useful it is - "simplified the ui" - - shocker.

flare777 commented 11 months ago

same issue, I lost how to apply styles to prompts. Previously, you could simply select a style and press the Apply button to apply a style to a prompt, but now the Apply button is built into the Style Editor, so you first select a style, then open the Style Editor, then APPLY You have to press a button, which is very tedious. I want it to return to its original state as soon as possible.

wpafbo79 commented 11 months ago

Taking a single click to apply styles and turning it into multiple clicks is very annoying and not at all intuitive. Please return to previous layout.

Xeddius commented 10 months ago

Someone please revert this change as soon as possible. It's a bad change and should be removed. You can't even save prompts, you have to manually add them 🤮 .

Xeddius commented 10 months ago

Commit 20549a5 is where the changes occurred.

scrumpyman commented 10 months ago

Commit 20549a5 is where the changes occurred.

This was a pain to properly revert, I'm gonna drop the result for anyone else who's had enough of the god awful new styles menu. I don't wanna deal with making a git pr, someone else can do that if they like. ui.zip Only one file modified, modules/ui.py

jaycecd commented 10 months ago

same issue, I lost how to apply styles to prompts. Previously, you could simply select a style and press the Apply button to apply a style to a prompt, but now the Apply button is built into the Style Editor, so you first select a style, then open the Style Editor, then APPLY You have to press a button, which is very tedious. I want it to return to its original state as soon as possible.

+1

johndpope commented 9 months ago

@scrumpyman - https://github.com/AUTOMATIC1111/stable-diffusion-webui/pull/14014 ui is updated - but when i save - I hit an error. Screenshot from 2023-11-21 10-57-04


    result = context.run(func, *args)
  File "/media/2TB/stable-diffusion-webui/venv/lib/python3.10/site-packages/gradio/utils.py", line 707, in wrapper
    response = f(*args, **kwargs)
  File "/media/2TB/stable-diffusion-webui/modules/ui.py", line 98, in add_style
    shared.prompt_styles.styles[style.name] = style
TypeError: unhashable type: 'dict'
scrumpyman commented 9 months ago

Your UI doesn't look like standard main build UI. If it's just a css theme it should be fine, but replacing ui.py is going to break things if that file or maybe other python files were different from main build, like if you're on dev build or something. No error happens on my side.

johndpope commented 9 months ago

thx - I retest on dev branch.

scrumpyman commented 9 months ago

No, I'm saying the file I posted is for main branch and it wouldn't work for dev branch.

johndpope commented 9 months ago

it maybe because I'm using a theme lobhub hmmmm