Skip to content

Commit a0004ed

Browse files
committed
chore: remove redundant word in comment
Signed-off-by: luchenhan <[email protected]>
1 parent a4d58aa commit a0004ed

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

Diff for: invokeai/app/services/invocation_cache/invocation_cache_base.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ def disable(self) -> None:
5454

5555
@abstractmethod
5656
def enable(self) -> None:
57-
"""Enables the cache, letting the the max cache size take effect"""
57+
"""Enables the cache, letting the max cache size take effect"""
5858
pass
5959

6060
@abstractmethod

Diff for: invokeai/backend/stable_diffusion/diffusers_pipeline.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -503,7 +503,7 @@ def step(
503503
for idx, tensor in enumerate(accum_adapter_state):
504504
# The tensor size is supposed to be some integer downscale factor of the latents size.
505505
# Internally, the unet will pad the latents before downscaling between levels when it is no longer divisible by its downscale factor.
506-
# 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.
506+
# 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.
507507
scale_factor = latents.size()[-1] // tensor.size()[-1]
508508
required_padding_width = math.ceil(latents.size()[-1] / scale_factor) - tensor.size()[-1]
509509
required_padding_height = math.ceil(latents.size()[-2] / scale_factor) - tensor.size()[-2]

Diff for: invokeai/frontend/web/src/app/store/middleware/listenerMiddleware/listeners/imageDeletionListeners.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -158,7 +158,7 @@ export const addImageDeletionListeners = (startAppListening: AppStartListening)
158158
const queryArgs = selectListImagesQueryArgs(state);
159159
const { data } = imagesApi.endpoints.listImages.select(queryArgs)(state);
160160
if (data) {
161-
// When we delete multiple images, we clear the selection. Then, the the next time we load images, we will
161+
// When we delete multiple images, we clear the selection. Then, the next time we load images, we will
162162
// select the first one. This is handled below in the listener for `imagesApi.endpoints.listImages.matchFulfilled`.
163163
dispatch(imageSelected(null));
164164
}

Diff for: invokeai/frontend/web/src/features/controlLayers/konva/CanvasEntity/CanvasEntityTransformer.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -803,7 +803,7 @@ export class CanvasEntityTransformer extends CanvasModuleBase {
803803

804804
this.$isTransforming.set(false);
805805

806-
// Reset the transform of the the entity. We've either replaced the transformed objects with a rasterized image, or
806+
// Reset the transform of the entity. We've either replaced the transformed objects with a rasterized image, or
807807
// canceled a transformation. In either case, the scale should be reset.
808808
this.resetTransform();
809809
this.syncInteractionState();

0 commit comments

Comments
 (0)