more fixes from code review

This commit is contained in:
skunkworxdark 2023-12-09 21:56:31 +00:00
parent 494c2a9b05
commit e656768eb2
2 changed files with 3 additions and 3 deletions

View File

@ -121,8 +121,8 @@ class CalculateImageTilesMinimumOverlapInvocation(BaseInvocation):
image_height: int = InputField(
ge=1, default=1024, description="The image height, in pixels, to calculate tiles for."
)
tile_width: int = InputField(ge=1, default=576, description="The tile width, in pixels.")
tile_height: int = InputField(ge=1, default=576, description="The tile height, in pixels.")
tile_width: int = InputField(ge=1, default=576, multiple_of=8, description="The tile width, in pixels.")
tile_height: int = InputField(ge=1, default=576, multiple_of=8, description="The tile height, in pixels.")
min_overlap: int = InputField(
default=128,
ge=0,

View File

@ -2,8 +2,8 @@ import math
from typing import Union
import numpy as np
from invokeai.app.invocations.latent import LATENT_SCALE_FACTOR
from invokeai.app.invocations.latent import LATENT_SCALE_FACTOR
from invokeai.backend.tiles.utils import TBLR, Tile, paste, seam_blend