mirror of
https://github.com/invoke-ai/InvokeAI
synced 2024-08-30 20:32:17 +00:00
updated comment
This commit is contained in:
parent
a64ced7b29
commit
9620f9336c
@ -191,8 +191,7 @@ def calc_tiles_min_overlap(
|
|||||||
assert min_overlap < tile_height
|
assert min_overlap < tile_height
|
||||||
assert min_overlap < tile_width
|
assert min_overlap < tile_width
|
||||||
|
|
||||||
# catches the cases when the tile size is larger than the images size and just clips the number of tiles to 1
|
# catches the cases when the tile size is larger than the images size and adjusts the tile size
|
||||||
|
|
||||||
if image_width < tile_width:
|
if image_width < tile_width:
|
||||||
tile_width = image_width
|
tile_width = image_width
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user