1
0
Fork 0

lint(gui): set histogram noise to the default

This commit is contained in:
Sean Sube 2023-01-15 11:16:39 -06:00
parent 2a30a04e46
commit 0d919bdb11
1 changed files with 4 additions and 4 deletions

View File

@ -126,9 +126,9 @@ export function createStateSlices(base: ConfigParams) {
const createInpaintSlice: StateCreator<OnnxState, [], [], InpaintSlice> = (set) => ({ const createInpaintSlice: StateCreator<OnnxState, [], [], InpaintSlice> = (set) => ({
inpaint: { inpaint: {
...defaults, ...defaults,
filter: '', filter: 'none',
mask: null, mask: null,
noise: '', noise: 'histogram',
source: null, source: null,
}, },
setInpaint(params) { setInpaint(params) {
@ -143,10 +143,10 @@ export function createStateSlices(base: ConfigParams) {
set({ set({
inpaint: { inpaint: {
...defaults, ...defaults,
filter: '', filter: 'none',
mask: null, mask: null,
noise: 'histogram',
source: null, source: null,
noise: '',
}, },
}); });
}, },