Skip to content

Commit bafa1a2

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

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

Lines changed: 1 addition & 1 deletion
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

Lines changed: 1 addition & 1 deletion
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

Lines changed: 1 addition & 1 deletion
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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -802,7 +802,7 @@ export class CanvasEntityTransformer extends CanvasModuleBase {
802802

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

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

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7035,7 +7035,7 @@ export type components = {
70357035
cfg_scale?: number | number[];
70367036
/**
70377037
* CFG Scale Start Step
7038-
* @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).
7038+
* @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).
70397039
* @default 0
70407040
*/
70417041
cfg_scale_start_step?: number;

0 commit comments

Comments
 (0)