import{FormView}from"../base.mjs";import{NumberInputView,FloatInputView,PromptInputView}from"../input.mjs";class RefiningFormView extends FormView{static autoSubmit=!0;static collapseFieldSets=!0;static fieldSets={Refining:{refinerStrength:{label:"Refiner Denoising Strength",class:FloatInputView,config:{minimum:0,maximum:1,step:.01,value:.3,tooltip:"When using a refiner, this will control how much of the original image is kept, and how much of it is replaced with refined content. A value of 1.0 represents total destruction of the first image."}},refinerGuidanceScale:{label:"Refiner Guidance Scale",class:FloatInputView,config:{minimum:0,maximum:100,step:.01,value:5,tooltip:"When using a refiner, this will control how closely to follow the guidance of the model. Low values can result in soft details, whereas high values can result in high-contrast ones."}},refinerAestheticScore:{label:"Refiner Aesthetic Score",class:FloatInputView,config:{minimum:0,maximum:100,step:.01,value:6,tooltip:"Aesthetic scores are assigned to images in SDXL refinement; this controls the positive score."}},refinerNegativeAestheticScore:{label:"Refiner Negative Aesthetic Score",class:FloatInputView,config:{minimum:0,maximum:100,step:.01,value:2.5,tooltip:"Aesthetic scores are assigned to images in SDXL refinement; this controls the negative score."}},refinerPrompt:{label:"Refiner Prompt",class:PromptInputView,config:{tooltip:"The prompt to use during refining. By default, the global prompt will be used."}},refinerNegativePrompt:{label:"Refiner Negative Prompt",class:PromptInputView,config:{tooltip:"The negative prompt to use during refining. By default, the global negative prompt will be used."}}}}}export{RefiningFormView};
