feat(ui): add isLocal flag to config

This commit is contained in:
psychedelicious 2024-05-22 07:19:55 +10:00
parent 624d28a93d
commit 4a394c60cf
2 changed files with 2 additions and 0 deletions

View File

@ -74,6 +74,7 @@ export type AppConfig = {
maxUpscalePixels?: number;
metadataFetchDebounce?: number;
workflowFetchDebounce?: number;
isLocal?: boolean;
sd: {
defaultModel?: string;
disabledControlNetModels: string[];

View File

@ -15,6 +15,7 @@ const baseDimensionConfig: NumericalParameterConfig = {
};
const initialConfigState: AppConfig = {
isLocal: true,
shouldUpdateImagesOnConnect: false,
shouldFetchMetadataFromApi: false,
disabledTabs: [],