Replies: 2 comments 1 reply
-
Hi @Qrunir, Thank you for reaching out! You should be able to use Let me know if you have any other questions. |
Beta Was this translation helpful? Give feedback.
0 replies
-
That's actually amazing! Was that change already merged or did you add it after reading my request? |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I would like to generate prompts depending on the pre-selected model/checkpoint.
However, I could not find how to lookup the currently (in A1111) selected checkpoint.
[get sd_model] looked like the obvious choice, but this does only return something if I set / overwrite my checkpoint beforehand.
I understand that [set sd_model] essentially seems to be a way to call get_closet_checkpoint_match() and then to load the matching checkpoint, however I couldn't find any other variable in #56 that would contain the selected model.
For other A1111 parameters this does not seem to be an issue, as for example with [get cfg_scale] I can access the value just fine and it pulls the value right from the GUI.
Am I overlooking something, what would be the workaround to get the currently loaded model into my prompt?
Cheers and thanks in advance.
Beta Was this translation helpful? Give feedback.
All reactions