stable-diffusion-webui icon indicating copy to clipboard operation
stable-diffusion-webui copied to clipboard

[Bug]: "Apply selected styles to current prompt" does not do anything

Open theUpsider opened this issue 2 years ago • 4 comments

Is there an existing issue for this?

  • [X] 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: 7a14c8ab45da8a681792a6331d48a88dd684a0a9

Steps to reproduce the problem

  1. Go to web UI
  2. Save a custom prompt
  3. 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

7a14c8ab45da8a681792a6331d48a88dd684a0a9

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

theUpsider avatar Jan 27 '23 12:01 theUpsider

Even on e8a41df49fadd2cf9f23b1f02d75a4947bec5646 the problem still exists. It is really inconvenient.

ligerye avatar Jan 28 '23 09:01 ligerye

Same. Having this issue too. Pretty inconvenient.

strouder avatar Jan 28 '23 15:01 strouder

Bros, I found that 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. @theUpsider @strouder @Shortcutz

ligerye avatar Jan 28 '23 15:01 ligerye

Bros, I found that 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. @theUpsider @strouder @Shortcutz

where can you set it to 3.16.2 ? tried installing it manually in venv but on start of gui it keeps installing 16 then removing it and installing 15.... *update nevemind found it , it was dreambooth extension image Works great now , thank you

siraxe avatar Jan 28 '23 22:01 siraxe

Bros, I found that 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. @theUpsider @strouder @Shortcutz

where can you set it to 3.16.2 ? tried installing it manually in venv but on start of gui it keeps installing 16 then removing it and installing 15.... *update nevemind found it , it was dreambooth extension image Works great now , thank you

hey guys I have the same problem how exactly did you do that

CryptoSoltan avatar Feb 01 '23 13:02 CryptoSoltan

Go to extensions > sd_dreambooth_extension >requirements.txt or any other extension that basically overrides gradio ver (tho Dreambooth removed it now I think , just update the plugin)

siraxe avatar Feb 01 '23 15:02 siraxe

Same issue here, but I don't have the dreambooth extension, I've tried removing the styles.csv and the params.txt and recreate them to see if that made any difference, but it doesn't.. If I open the "Edit styles" popup I can see that it can clearly read the styles, but it's not able to apply them to the text box for some reason, clicking the apply button just does nothing. Anybody got any ideas? I don't seem to have any extensions overriding gradio

BartAgterbosch avatar Jan 15 '24 17:01 BartAgterbosch