import{FormView}from"../base.mjs";import{NumberInputView,FloatInputView,SchedulerInputView}from"../input.mjs";let defaultGuidanceScale=7,defaultInferenceSteps=40;class TweaksFormView extends FormView{static autoSubmit=!0;static collapseFieldSets=!0;static fieldSets={Tweaks:{guidanceScale:{label:"Guidance Scale",class:FloatInputView,config:{min:0,max:100,value:defaultGuidanceScale,step:.1,tooltip:"How closely to follow the text prompt; high values result in high-contrast images closely adhering to your text, low values result in low-contrast images with more randomness."}},inferenceSteps:{label:"Inference Steps",class:NumberInputView,config:{min:5,max:250,value:defaultInferenceSteps,tooltip:"How many steps to take during primary inference, larger values take longer to process but can produce better results."}},scheduler:{label:"Scheduler",class:SchedulerInputView}}}}export{TweaksFormView};
