-
Notifications
You must be signed in to change notification settings - Fork 6k
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
LORA preview as in styles #2029
Comments
This is a pretty good idea. In fact, It would be nice if there we could use the api to get information about the Lora, such as trigger words and ideal settings as that seems to be to be what is harder to remember. I have to stash that info in my notes. Thanks for suggesting it! |
In this it would be nice to force trigger a Lora (if not directly possible by adding the trigger words in the back to the command) |
I started a code to do with pycivitai but it become too complex to know after already downloaded model also we need to do multiple research because it not find easily the model downloaded (also you may rename it) I will try instead in my side to create the preview from last generated image attempt so it will be more easily to update the preview from your last previous render it will may generate the preview if only it was the one enabled (no conflict and make clean to undersand) (except for SD checkpoints need to have base model with the refiner. so if it not defined, it will use by default the refiner one, if the preview is base, so overwrite it) also this way you find the one that really work with the setup (for lora it should be the only one enabled to update it) the easiest first implementation will be to create a json (preview.json) in model folder (checkpoints an loras) in question that refer to output last attempt preview.json : "filename" : "preview output folder last location (png date image like in log)" for the first version maybe you will need to restart app to affect change so in the UI it will use the path output to preview it (like in log history) I will use my custom tester feature to help me to fill the preview images |
I will try something like that first (will add last date the new attempt to preview) models\checkpoints\preview_log.json (same for loras)
at app start, it cleanup outputs removed in the json (not exist image anymore) it load it in the ui as model preview when creating log it will also append the new concerned preview in json file if no image peview display as tooltip all the filename by default |
Hi I just created a fork fooocus project version just synced with the original project in main branch I created a pr in my fork project to show what we need to change to enable the feature MindOfMatter/Fooocus-MindOfMatter-Edition#14 If you want to test it, you need to replace your fooocus local folder with mine Also my dev branch contains all merged tested pr features in my fork project I hope that it could help you :) Have a nice day |
done and a lot tested |
Is it possible to pre-order (image) LORA the way it is done in mouse-over styles?
Only the image should be taken from the site. I ask you to do this, because you do not remember all the styles of LORA, and every time you have to go to the site for information
The text was updated successfully, but these errors were encountered: