2023-04-09 07:16:15 +02:00
|
|
|
import { atomWithStorage } from "jotai/utils";
|
|
|
|
|
|
|
|
export const customModelsPathAtom = atomWithStorage<string | null>(
|
|
|
|
"customModelsPath",
|
|
|
|
null
|
|
|
|
);
|
2023-04-12 15:31:07 +02:00
|
|
|
|
2023-04-14 12:31:37 +02:00
|
|
|
export const scaleAtom = atomWithStorage<"2" | "3" | "4">("scale", "4");
|
2023-04-15 05:56:40 +02:00
|
|
|
|
2023-04-20 20:34:49 +02:00
|
|
|
export const batchModeAtom = atomWithStorage<boolean>("batchMode", false);
|
2023-04-16 04:39:38 +02:00
|
|
|
|
2023-04-20 20:34:49 +02:00
|
|
|
export const rememberOutputFolderAtom = atomWithStorage<boolean>(
|
|
|
|
"rememberOutputFolder",
|
|
|
|
false
|
|
|
|
);
|