mirror of
https://github.com/upscayl/upscayl.git
synced 2024-11-12 01:40:53 +01:00
16 lines
402 B
TypeScript
16 lines
402 B
TypeScript
import { atomWithStorage } from "jotai/utils";
|
|
|
|
export const customModelsPathAtom = atomWithStorage<string | null>(
|
|
"customModelsPath",
|
|
null
|
|
);
|
|
|
|
export const scaleAtom = atomWithStorage<"2" | "3" | "4">("scale", "4");
|
|
|
|
export const batchModeAtom = atomWithStorage<boolean>("batchMode", false);
|
|
|
|
export const rememberOutputFolderAtom = atomWithStorage<boolean>(
|
|
"rememberOutputFolder",
|
|
false
|
|
);
|