poipiii
commited on
Commit
•
a86f18e
1
Parent(s):
b248b08
fix unpacking of image
Browse files- pipeline.py +2 -1
pipeline.py
CHANGED
@@ -1185,7 +1185,8 @@ class StableDiffusionLongPromptWeightingPipeline(StableDiffusionPipeline):
|
|
1185 |
callback_steps=callback_steps,
|
1186 |
)
|
1187 |
|
1188 |
-
resized_image = torch.nn.functional.interpolate(
|
|
|
1189 |
|
1190 |
highres_image = self.__call__(prompt=prompt,
|
1191 |
negative_prompt=negative_prompt,
|
|
|
1185 |
callback_steps=callback_steps,
|
1186 |
)
|
1187 |
|
1188 |
+
resized_image = torch.nn.functional.interpolate(
|
1189 |
+
image.images[0], scale_factor=resize_scale)
|
1190 |
|
1191 |
highres_image = self.__call__(prompt=prompt,
|
1192 |
negative_prompt=negative_prompt,
|