sd_civitai_extension
sd_civitai_extension copied to clipboard
Improve model preview.
- 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.
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
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.