Spaces:
Running
on
Zero
Running
on
Zero
fix resize
Browse files- ominicontrol.py +1 -1
ominicontrol.py
CHANGED
|
@@ -128,7 +128,7 @@ def generate_image(
|
|
| 128 |
).images[0]
|
| 129 |
# result_img = image
|
| 130 |
|
| 131 |
-
result_img = result_img.resize(width, height, Image.LANCZOS)
|
| 132 |
|
| 133 |
return result_img
|
| 134 |
|
|
|
|
| 128 |
).images[0]
|
| 129 |
# result_img = image
|
| 130 |
|
| 131 |
+
result_img = result_img.resize((width, height), Image.LANCZOS)
|
| 132 |
|
| 133 |
return result_img
|
| 134 |
|