poipiii
commited on
Commit
·
b248b08
1
Parent(s):
4f9614f
fix interpolation mode
Browse files- pipeline.py +1 -1
pipeline.py
CHANGED
@@ -1185,7 +1185,7 @@ class StableDiffusionLongPromptWeightingPipeline(StableDiffusionPipeline):
|
|
1185 |
callback_steps=callback_steps,
|
1186 |
)
|
1187 |
|
1188 |
-
resized_image = torch.nn.functional.interpolate(image, scale_factor=resize_scale
|
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(image, scale_factor=resize_scale)
|
1189 |
|
1190 |
highres_image = self.__call__(prompt=prompt,
|
1191 |
negative_prompt=negative_prompt,
|