Skip to content

Commit 2b340fa

Browse files
luchenhanpsychedelicious
authored andcommitted
chore: remove redundant word in comment
Signed-off-by: luchenhan <[email protected]>
1 parent b57aa06 commit 2b340fa

File tree

5 files changed

+5
-5
lines changed

5 files changed

+5
-5
lines changed

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

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]

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
}

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();

invokeai/frontend/web/src/services/api/schema.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -7005,7 +7005,7 @@ export type components = {
70057005
cfg_scale?: number | number[];
70067006
/**
70077007
* CFG Scale Start Step
7008-
* @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).
7008+
* @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).
70097009
* @default 0
70107010
*/
70117011
cfg_scale_start_step?: number;

0 commit comments

Comments
 (0)