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

Improve model preview. #59

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

picobyte
Copy link

@picobyte picobyte commented May 5, 2023

  • 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.

Roel Kluin and others added 3 commits May 5, 2023 19:09
* Display the trigger words on model preview images.
* 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.
it includes space, but exludes tab, newline or control characters, which isascii() does not.
@picobyte
Copy link
Author

picobyte commented May 5, 2023

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:
AUTOMATIC1111/stable-diffusion-webui#8029
and an alternative solution:
https://github.com/butaixianran/Stable-Diffusion-Webui-Civitai-Helper

@picobyte
Copy link
Author

picobyte commented May 5, 2023

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.

Copy link

@shamblessed shamblessed left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Xf

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants