2023-04-09 10:46:15 +05:30
|
|
|
import { atomWithStorage } from "jotai/utils";
|
|
|
|
|
|
|
|
export const customModelsPathAtom = atomWithStorage<string | null>(
|
|
|
|
"customModelsPath",
|
|
|
|
null
|
|
|
|
);
|
2023-04-12 19:01:07 +05:30
|
|
|
|
2023-04-14 16:01:37 +05:30
|
|
|
export const scaleAtom = atomWithStorage<"2" | "3" | "4">("scale", "4");
|
2023-04-15 09:26:40 +05:30
|
|
|
|
2023-04-21 00:04:49 +05:30
|
|
|
export const batchModeAtom = atomWithStorage<boolean>("batchMode", false);
|
2023-04-16 08:09:38 +05:30
|
|
|
|
2023-04-21 00:04:49 +05:30
|
|
|
export const rememberOutputFolderAtom = atomWithStorage<boolean>(
|
|
|
|
"rememberOutputFolder",
|
|
|
|
false
|
|
|
|
);
|