mirror of
https://github.com/upscayl/upscayl.git
synced 2025-02-23 05:49:36 +01:00
13 lines
370 B
TypeScript
13 lines
370 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("batchMode", false);
|
|
|
|
export const saveOutputFolderAtom = atomWithStorage("saveOutputFolder", false);
|