poipiii
commited on
Commit
•
9bee773
1
Parent(s):
a86f18e
fix scale size
Browse files- pipeline.py +1 -1
pipeline.py
CHANGED
@@ -1186,7 +1186,7 @@ class StableDiffusionLongPromptWeightingPipeline(StableDiffusionPipeline):
|
|
1186 |
)
|
1187 |
|
1188 |
resized_image = torch.nn.functional.interpolate(
|
1189 |
-
image.images[0],
|
1190 |
|
1191 |
highres_image = self.__call__(prompt=prompt,
|
1192 |
negative_prompt=negative_prompt,
|
|
|
1186 |
)
|
1187 |
|
1188 |
resized_image = torch.nn.functional.interpolate(
|
1189 |
+
image.images[0],size = (int(height*resize_scale), int(width*resize_scale)))
|
1190 |
|
1191 |
highres_image = self.__call__(prompt=prompt,
|
1192 |
negative_prompt=negative_prompt,
|