Critical Space Removal

This commit is contained in:
Kent Keirsey 2024-02-13 22:11:48 -05:00
parent 30dae0f5aa
commit 17d5f7bebd

View File

@ -42,7 +42,7 @@ def set_seamless(model: Union[UNet2DConditionModel, AutoencoderKL], seamless_axe
block_num = int(block_num)
resnet_num = int(resnet_num)
if block_num >= len(model.down_blocks) - skipped_layers:
if block_num >= len(model.down_blocks) - skipped_layers:
continue
# Skip the second resnet (could be configurable)