diff --git a/invokeai/frontend/web/src/app/types/invokeai.ts b/invokeai/frontend/web/src/app/types/invokeai.ts index 0fd0120ce8..229761dabb 100644 --- a/invokeai/frontend/web/src/app/types/invokeai.ts +++ b/invokeai/frontend/web/src/app/types/invokeai.ts @@ -102,6 +102,8 @@ export type AppFeature = export type SDFeature = | 'controlNet' | 'noise' + | 'perlinNoise' + | 'noiseThreshold' | 'variation' | 'symmetry' | 'seamless' diff --git a/invokeai/frontend/web/src/features/parameters/components/Parameters/Noise/ParamNoiseCollapse.tsx b/invokeai/frontend/web/src/features/parameters/components/Parameters/Noise/ParamNoiseCollapse.tsx index 053c1cfec0..0419ecc656 100644 --- a/invokeai/frontend/web/src/features/parameters/components/Parameters/Noise/ParamNoiseCollapse.tsx +++ b/invokeai/frontend/web/src/features/parameters/components/Parameters/Noise/ParamNoiseCollapse.tsx @@ -27,6 +27,9 @@ const ParamNoiseCollapse = () => { const { t } = useTranslation(); const isNoiseEnabled = useFeatureStatus('noise').isFeatureEnabled; + const isPerlinNoiseEnabled = useFeatureStatus('perlinNoise').isFeatureEnabled; + const isNoiseThresholdEnabled = + useFeatureStatus('noiseThreshold').isFeatureEnabled; const { activeLabel } = useAppSelector(selector); @@ -42,8 +45,8 @@ const ParamNoiseCollapse = () => { - - + {isPerlinNoiseEnabled && } + {isNoiseThresholdEnabled && } ); diff --git a/invokeai/frontend/web/src/features/system/store/configSlice.ts b/invokeai/frontend/web/src/features/system/store/configSlice.ts index cf257032ff..c69d596b78 100644 --- a/invokeai/frontend/web/src/features/system/store/configSlice.ts +++ b/invokeai/frontend/web/src/features/system/store/configSlice.ts @@ -6,8 +6,15 @@ import { merge } from 'lodash-es'; export const initialConfigState: AppConfig = { shouldUpdateImagesOnConnect: false, disabledTabs: [], - disabledFeatures: [], - disabledSDFeatures: [], + disabledFeatures: ['lightbox', 'faceRestore'], + disabledSDFeatures: [ + 'variation', + 'seamless', + 'symmetry', + 'hires', + 'perlinNoise', + 'noiseThreshold', + ], canRestoreDeletedImagesFromBin: true, sd: { disabledControlNetModels: [],