-
Notifications
You must be signed in to change notification settings - Fork 5
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
fix: remove the sliders from the controlnet modes and leave the values the same as in the webapp #150
Conversation
⚠ : does this code is able to change the options when the model is a SD1.5 and when the model is a SDXL ? |
Will be done in #125 |
@@ -36,11 +36,16 @@ public partial class PromptWindowUI | |||
|
|||
public string selectedPreset = ""; | |||
public int selectedOption1Index = 0; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
maybe rename Option1Name if there is no more 1-2-3-4, etc...
(and also other Something1Variable names)
public int sliderDisplayedValue = 100; | ||
|
||
/// <summary> | ||
/// Value from the guidance slider in controlNet options, use to send to generation |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
seems that this value is not only for guidance but that's what the comment is saying
sliderValue3 = Mathf.Round(EditorGUILayout.Slider(Mathf.Clamp(sliderValue3, 0.1f, 1.0f), 0.1f, 1.0f) * 100) / 100; | ||
GUILayout.EndHorizontal(); | ||
{ | ||
GUILayout.Label("Guidance :", EditorStyles.label); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm not aligned of calling this Guidance and I would prefer Influence. @qvaleroo what do you think ?
Removing other modalities options.
Fix naming on slider and displaying value.