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; maxUpscalePixels?: number;
metadataFetchDebounce?: number; metadataFetchDebounce?: number;
workflowFetchDebounce?: number; workflowFetchDebounce?: number;
isLocal?: boolean;
sd: { sd: {
defaultModel?: string; defaultModel?: string;
disabledControlNetModels: string[]; disabledControlNetModels: string[];

View File

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