import { atom } from "jotai"; import { atomWithStorage } from "jotai/utils"; export const customModelsPathAtom = atomWithStorage( "customModelsPath", null ); export const scaleAtom = atomWithStorage<"2" | "3" | "4">("scale", "4"); export const batchModeAtom = atom(false); export const rememberOutputFolderAtom = atomWithStorage( "rememberOutputFolder", false ); export const dontShowCloudModalAtom = atomWithStorage( "dontShowCloudModal", false );