sd_civitai_extension icon indicating copy to clipboard operation
sd_civitai_extension copied to clipboard

Improve model preview.

Open picobyte opened this issue 1 year ago • 2 comments

  • Display the trigger words on model preview images. They are somewhat drag-select copy paste-able.
  • Prevents overwriting exiting preview images.

Displaying the trigger words does mean writing those to .txt files in the model directories for every model. Doing this is configurable in the settings. There is no notable lag.

Trigger-words with non-ascii characters cause a gradio error, so those areexcluded, and listed on the console.

picobyte avatar May 05 '23 17:05 picobyte

I'm going to test one thing more, see if there's some hyperlink supprt, which could maybe facilitate the copy-paste process. .. It appears there is already discussion: https://github.com/AUTOMATIC1111/stable-diffusion-webui/issues/8029 and an alternative solution: https://github.com/butaixianran/Stable-Diffusion-Webui-Civitai-Helper

picobyte avatar May 05 '23 18:05 picobyte

I like their buttons, but I don't like it's another tab. maybe the .txt files solution is not ideal either, there should just be buttons and that a button press queries the civitai api.

picobyte avatar May 05 '23 20:05 picobyte