This commit is contained in:
Vladimir Mandic
2023-01-04 08:20:42 -05:00
committed by GitHub
parent 1cfd8aec4a
commit 79c682ad4f
3 changed files with 3 additions and 3 deletions

View File

@@ -22,6 +22,8 @@ from modules.shared import opts, cmd_opts
LANCZOS = (Image.Resampling.LANCZOS if hasattr(Image, 'Resampling') else Image.LANCZOS)
Image.init() # initialize once all known file format handlers
def image_grid(imgs, batch_size=1, rows=None):
if rows is None: