1
0
mirror of https://github.com/huggingface/diffusers.git synced 2026-01-29 07:22:12 +03:00

modify pipeline

This commit is contained in:
Chong
2023-08-23 13:30:51 +08:00
parent e262231ed0
commit 88c842d3d5

View File

@@ -749,8 +749,8 @@ class StableDiffusionXLAdapterPipeline(DiffusionPipeline, FromSingleFileMixin, L
adapter_input = _preprocess_adapter_image(image, height, width).to(device)
original_size = (height, width)
target_size = (height, width)
original_size = original_size or (height, width)
target_size = target_size or (height, width)
# 1. Check inputs. Raise error if not correct
self.check_inputs(