mirror of
https://github.com/invoke-ai/InvokeAI
synced 2024-08-30 20:32:17 +00:00
more fixes from code review
This commit is contained in:
parent
494c2a9b05
commit
e656768eb2
@ -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,
|
||||
|
@ -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
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user