mirror of
https://github.com/invoke-ai/InvokeAI
synced 2024-08-30 20:32:17 +00:00
fix(ui): typos
This commit is contained in:
parent
bd91bd4a84
commit
a8bc6ab5b1
@ -1643,19 +1643,15 @@
|
|||||||
},
|
},
|
||||||
"upscaling": {
|
"upscaling": {
|
||||||
"creativity": "Creativity",
|
"creativity": "Creativity",
|
||||||
"currentImageSize": "Current Image Size",
|
|
||||||
"outputImageSize": "Output Image Size",
|
|
||||||
"sharpness": "Sharpness",
|
|
||||||
"structure": "Structure",
|
"structure": "Structure",
|
||||||
"toInstall": "to install",
|
"toInstall": "to install",
|
||||||
"upscaleModel": "Upcale Model",
|
"upscaleModel": "Upscale Model",
|
||||||
"scale": "Scale",
|
"scale": "Scale",
|
||||||
"visit": "Visit",
|
"visit": "Visit",
|
||||||
"warningNoMainModel": "a model",
|
"warningNoMainModel": "a model",
|
||||||
"warningNoTile": "a {{base_model}} tile controlnet required by this feature",
|
"warningNoTile": "a {{base_model}} tile controlnet required by this feature",
|
||||||
"warningNoTileOrUpscaleModel": "an upscaler model and {{base_model}} tile controlnet required by this feature",
|
"warningNoTileOrUpscaleModel": "an upscaler model and {{base_model}} tile controlnet required by this feature",
|
||||||
"warningNoUpscaleModel": "an upscaler model required by this feature",
|
"warningNoUpscaleModel": "an upscaler model required by this feature"
|
||||||
"upscalingFromTo": "Upscaling from {{from}} to {{to}}"
|
|
||||||
},
|
},
|
||||||
"ui": {
|
"ui": {
|
||||||
"tabs": {
|
"tabs": {
|
||||||
|
@ -2,7 +2,7 @@ import { enqueueRequested } from 'app/store/actions';
|
|||||||
import type { AppStartListening } from 'app/store/middleware/listenerMiddleware';
|
import type { AppStartListening } from 'app/store/middleware/listenerMiddleware';
|
||||||
import { isImageViewerOpenChanged } from 'features/gallery/store/gallerySlice';
|
import { isImageViewerOpenChanged } from 'features/gallery/store/gallerySlice';
|
||||||
import { prepareLinearUIBatch } from 'features/nodes/util/graph/buildLinearBatchConfig';
|
import { prepareLinearUIBatch } from 'features/nodes/util/graph/buildLinearBatchConfig';
|
||||||
import { buildMultidiffusionUpscsaleGraph } from 'features/nodes/util/graph/buildMultidiffusionUpscaleGraph';
|
import { buildMultidiffusionUpscaleGraph } from 'features/nodes/util/graph/buildMultidiffusionUpscaleGraph';
|
||||||
import { queueApi } from 'services/api/endpoints/queue';
|
import { queueApi } from 'services/api/endpoints/queue';
|
||||||
|
|
||||||
export const addEnqueueRequestedUpscale = (startAppListening: AppStartListening) => {
|
export const addEnqueueRequestedUpscale = (startAppListening: AppStartListening) => {
|
||||||
@ -14,7 +14,7 @@ export const addEnqueueRequestedUpscale = (startAppListening: AppStartListening)
|
|||||||
const { shouldShowProgressInViewer } = state.ui;
|
const { shouldShowProgressInViewer } = state.ui;
|
||||||
const { prepend } = action.payload;
|
const { prepend } = action.payload;
|
||||||
|
|
||||||
const graph = await buildMultidiffusionUpscsaleGraph(state);
|
const graph = await buildMultidiffusionUpscaleGraph(state);
|
||||||
|
|
||||||
const batchConfig = prepareLinearUIBatch(state, graph, prepend);
|
const batchConfig = prepareLinearUIBatch(state, graph, prepend);
|
||||||
|
|
||||||
|
@ -24,7 +24,7 @@ import { addLoRAs } from './generation/addLoRAs';
|
|||||||
import { addSDXLLoRas } from './generation/addSDXLLoRAs';
|
import { addSDXLLoRas } from './generation/addSDXLLoRAs';
|
||||||
import { getBoardField, getSDXLStylePrompts } from './graphBuilderUtils';
|
import { getBoardField, getSDXLStylePrompts } from './graphBuilderUtils';
|
||||||
|
|
||||||
export const buildMultidiffusionUpscsaleGraph = async (state: RootState): Promise<GraphType> => {
|
export const buildMultidiffusionUpscaleGraph = async (state: RootState): Promise<GraphType> => {
|
||||||
const { model, cfgScale: cfg_scale, scheduler, steps, vaePrecision, seed, vae } = state.generation;
|
const { model, cfgScale: cfg_scale, scheduler, steps, vaePrecision, seed, vae } = state.generation;
|
||||||
const { positivePrompt, negativePrompt } = state.controlLayers.present;
|
const { positivePrompt, negativePrompt } = state.controlLayers.present;
|
||||||
const { upscaleModel, upscaleInitialImage, structure, creativity, tileControlnetModel, scale } = state.upscale;
|
const { upscaleModel, upscaleInitialImage, structure, creativity, tileControlnetModel, scale } = state.upscale;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user