We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4eca729 commit 142e8c3Copy full SHA for 142e8c3
invokeai/app/invocations/flux_uno.py
@@ -30,7 +30,7 @@ def preprocess_ref(raw_image: Image.Image, long_size: int = 512) -> Image.Image:
30
new_w = int((long_size / image_h) * image_w)
31
32
# Scale proportionally to the new width and height
33
- raw_image = raw_image.resize((new_w, new_h), resample=Image.LANCZOS)
+ raw_image = raw_image.resize((new_w, new_h), resample=Image.Resampling.LANCZOS)
34
target_w = new_w // 16 * 16
35
target_h = new_h // 16 * 16
36
0 commit comments