Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

A system to store and display LoRA token. #9472

Closed
1 task done
leucome opened this issue Apr 8, 2023 · 4 comments
Closed
1 task done

A system to store and display LoRA token. #9472

leucome opened this issue Apr 8, 2023 · 4 comments
Labels
enhancement New feature or request

Comments

@leucome
Copy link

leucome commented Apr 8, 2023

Is there an existing issue for this?

  • I have searched the existing issues and checked the recent builds/commits

What would your feature do ?

I am thinking of a simple system were instruction and the token for a LoRA model could be stored in a flat file saved alongside the Lora model.
Then these instructions could displayed somewhere in the Webui.
It could be convenient I, I think. There is already a couple of LoRA that I ended up adding a text files with instructions because I was forgetting what token it use.

@leucome leucome added the enhancement New feature or request label Apr 8, 2023
@MrKuenning
Copy link

MrKuenning commented Apr 8, 2023

I asked for the same thing and @jokker87 built a fork of the Civitai Helper that pulls the default values from CIVITAI and then allows you to set custom weights and keywords on each model, that will apply or remove when you click on them.

https://github.com/jokker87/Stable-Diffusion-Webui-Civitai-Helper
2023-04-05 14_44_56-Window

Clicking on this adds : <lora:Howls Moving Castle:0.9>, howlbgs to the prompt or removes it on a second click.

Here is a link to my mock-up idea and request.
jokker87/Stable-Diffusion-Webui-Civitai-Helper#1


Also, the original Civitai Helper is working on version 2 which will have a tab for managing the model info and they have a video demonstrating it.
https://youtu.be/mPcKwQDDH8s
https://github.com/butaixianran/Stable-Diffusion-Webui-Civitai-Helper

@missionfloyd
Copy link
Collaborator

missionfloyd commented Apr 8, 2023

You can already to this. Put the trigger words (or whatever else) in a matching text file. It's then displayed in the extra networks menu.
image
image

@jrittvo
Copy link

jrittvo commented Apr 10, 2023

Civitai Helper can do it now. https://github.com/butaixianran/Stable-Diffusion-Webui-Civitai-Helper You just need to edit in whatever you want entered into the .info file it uses at the "trainedWords" entry and it will enter it in the prompt when you click the light bulb icon. In the photo below, it will add <lora:Leica_Style-1.0:.9>, leica_style, to the prompt.

Screenshot

@leucome
Copy link
Author

leucome commented Apr 10, 2023

Ho! I was in thumbnail mode and the text was overflowing so much that I did not even notice that it was already there.

Then I am going to try Civitai Helper too.

@leucome leucome closed this as completed Apr 10, 2023
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

4 participants