add back croper to paint_by_example model
This commit is contained in:
parent
cc67436cbf
commit
c82e20cbe0
@ -68,6 +68,24 @@ const PESidePanel = () => {
|
|||||||
</PopoverPrimitive.Trigger>
|
</PopoverPrimitive.Trigger>
|
||||||
<PopoverPrimitive.Portal>
|
<PopoverPrimitive.Portal>
|
||||||
<PopoverPrimitive.Content className="side-panel-content">
|
<PopoverPrimitive.Content className="side-panel-content">
|
||||||
|
<SettingBlock
|
||||||
|
title="Croper"
|
||||||
|
input={
|
||||||
|
<Switch
|
||||||
|
checked={setting.showCroper}
|
||||||
|
onCheckedChange={value => {
|
||||||
|
setSettingState(old => {
|
||||||
|
return { ...old, showCroper: value }
|
||||||
|
})
|
||||||
|
}}
|
||||||
|
>
|
||||||
|
<SwitchThumb />
|
||||||
|
</Switch>
|
||||||
|
}
|
||||||
|
/>
|
||||||
|
|
||||||
|
<ImageResizeScale />
|
||||||
|
|
||||||
<NumberInputSetting
|
<NumberInputSetting
|
||||||
title="Steps"
|
title="Steps"
|
||||||
width={INPUT_WIDTH}
|
width={INPUT_WIDTH}
|
||||||
@ -81,8 +99,6 @@ const PESidePanel = () => {
|
|||||||
}}
|
}}
|
||||||
/>
|
/>
|
||||||
|
|
||||||
<ImageResizeScale />
|
|
||||||
|
|
||||||
<NumberInputSetting
|
<NumberInputSetting
|
||||||
title="Guidance Scale"
|
title="Guidance Scale"
|
||||||
width={INPUT_WIDTH}
|
width={INPUT_WIDTH}
|
||||||
|
Loading…
Reference in New Issue
Block a user