diff --git a/frontend/src/app/App.tsx b/frontend/src/app/App.tsx index 125b04075f..71b001e9b0 100644 --- a/frontend/src/app/App.tsx +++ b/frontend/src/app/App.tsx @@ -78,8 +78,6 @@ const appSelector = createSelector( const App = () => { const dispatch = useAppDispatch(); - // const [isReady, setIsReady] = useState(false); - // const { isReady, reasonsWhyNotReady } = useAppSelector(readinessSelector); const { shouldShowGalleryButton, shouldShowOptionsPanelButton } = useAppSelector(appSelector); @@ -87,10 +85,6 @@ const App = () => { dispatch(requestSystemConfig()); }, [dispatch]); - // useEffect(() => { - // dispatch(readinessChanged({ isReady, reasonsWhyNotReady })); - // }, [dispatch, isReady, reasonsWhyNotReady]); - return (
diff --git a/frontend/src/features/system/systemSlice.ts b/frontend/src/features/system/systemSlice.ts index 6dd7b0bc0c..19a95fd546 100644 --- a/frontend/src/features/system/systemSlice.ts +++ b/frontend/src/features/system/systemSlice.ts @@ -41,8 +41,6 @@ export interface SystemState shouldDisplayGuides: boolean; wasErrorSeen: boolean; isCancelable: boolean; - isReady: boolean; - reasonsWhyNotReady: string[]; } const initialSystemState = { @@ -187,11 +185,6 @@ export const systemSlice = createSlice({ state.isProcessing = true; state.currentStatusHasSteps = false; }, - readinessChanged: (state, action: PayloadAction) => { - const { isReady, reasonsWhyNotReady } = action.payload; - state.isReady = isReady; - state.reasonsWhyNotReady = reasonsWhyNotReady; - }, }, }); @@ -214,7 +207,6 @@ export const { setModelList, setIsCancelable, modelChangeRequested, - readinessChanged, } = systemSlice.actions; export default systemSlice.reducer; diff --git a/frontend/src/features/tabs/Inpainting/inpaintingSlice.ts b/frontend/src/features/tabs/Inpainting/inpaintingSlice.ts index cbc63c20b0..dee72de7d9 100644 --- a/frontend/src/features/tabs/Inpainting/inpaintingSlice.ts +++ b/frontend/src/features/tabs/Inpainting/inpaintingSlice.ts @@ -86,7 +86,7 @@ const initialInpaintingState: InpaintingState = { isMovingBoundingBox: false, stageScale: 1, shouldUseInpaintReplace: false, - inpaintReplace: 1, + inpaintReplace: 0.1, shouldLockBoundingBox: true, isSpacebarHeld: false, };