diff --git a/invokeai/app/services/invocation_cache/invocation_cache_base.py b/invokeai/app/services/invocation_cache/invocation_cache_base.py index bde6a0f1146..dd235262b2c 100644 --- a/invokeai/app/services/invocation_cache/invocation_cache_base.py +++ b/invokeai/app/services/invocation_cache/invocation_cache_base.py @@ -54,7 +54,7 @@ def disable(self) -> None: @abstractmethod def enable(self) -> None: - """Enables the cache, letting the the max cache size take effect""" + """Enables the cache, letting the max cache size take effect""" pass @abstractmethod diff --git a/invokeai/backend/stable_diffusion/diffusers_pipeline.py b/invokeai/backend/stable_diffusion/diffusers_pipeline.py index e5d4393faf6..af65644e54b 100644 --- a/invokeai/backend/stable_diffusion/diffusers_pipeline.py +++ b/invokeai/backend/stable_diffusion/diffusers_pipeline.py @@ -503,7 +503,7 @@ def step( for idx, tensor in enumerate(accum_adapter_state): # The tensor size is supposed to be some integer downscale factor of the latents size. # Internally, the unet will pad the latents before downscaling between levels when it is no longer divisible by its downscale factor. - # If the latent size does not scale down evenly, we need to pad the tensor so that it matches the the downscaled padded latents later on. + # If the latent size does not scale down evenly, we need to pad the tensor so that it matches the downscaled padded latents later on. scale_factor = latents.size()[-1] // tensor.size()[-1] required_padding_width = math.ceil(latents.size()[-1] / scale_factor) - tensor.size()[-1] required_padding_height = math.ceil(latents.size()[-2] / scale_factor) - tensor.size()[-2] diff --git a/invokeai/frontend/web/src/app/store/middleware/listenerMiddleware/listeners/imageDeletionListeners.ts b/invokeai/frontend/web/src/app/store/middleware/listenerMiddleware/listeners/imageDeletionListeners.ts index 68d7595bd9a..643d9186fc2 100644 --- a/invokeai/frontend/web/src/app/store/middleware/listenerMiddleware/listeners/imageDeletionListeners.ts +++ b/invokeai/frontend/web/src/app/store/middleware/listenerMiddleware/listeners/imageDeletionListeners.ts @@ -158,7 +158,7 @@ export const addImageDeletionListeners = (startAppListening: AppStartListening) const queryArgs = selectListImagesQueryArgs(state); const { data } = imagesApi.endpoints.listImages.select(queryArgs)(state); if (data) { - // When we delete multiple images, we clear the selection. Then, the the next time we load images, we will + // When we delete multiple images, we clear the selection. Then, the next time we load images, we will // select the first one. This is handled below in the listener for `imagesApi.endpoints.listImages.matchFulfilled`. dispatch(imageSelected(null)); } diff --git a/invokeai/frontend/web/src/features/controlLayers/konva/CanvasEntity/CanvasEntityTransformer.ts b/invokeai/frontend/web/src/features/controlLayers/konva/CanvasEntity/CanvasEntityTransformer.ts index 110e74f5b48..ab2e6ec9225 100644 --- a/invokeai/frontend/web/src/features/controlLayers/konva/CanvasEntity/CanvasEntityTransformer.ts +++ b/invokeai/frontend/web/src/features/controlLayers/konva/CanvasEntity/CanvasEntityTransformer.ts @@ -803,7 +803,7 @@ export class CanvasEntityTransformer extends CanvasModuleBase { this.$isTransforming.set(false); - // Reset the transform of the the entity. We've either replaced the transformed objects with a rasterized image, or + // Reset the transform of the entity. We've either replaced the transformed objects with a rasterized image, or // canceled a transformation. In either case, the scale should be reset. this.resetTransform(); this.syncInteractionState(); diff --git a/invokeai/frontend/web/src/services/api/schema.ts b/invokeai/frontend/web/src/services/api/schema.ts index 1c9d465d8de..af805919ade 100644 --- a/invokeai/frontend/web/src/services/api/schema.ts +++ b/invokeai/frontend/web/src/services/api/schema.ts @@ -7005,7 +7005,7 @@ export type components = { cfg_scale?: number | number[]; /** * CFG Scale Start Step - * @description Index of the first step to apply cfg_scale. Negative indices count backwards from the the last step (e.g. a value of -1 refers to the final step). + * @description Index of the first step to apply cfg_scale. Negative indices count backwards from the last step (e.g. a value of -1 refers to the final step). * @default 0 */ cfg_scale_start_step?: number;