Update README.md
Browse files
README.md
CHANGED
|
@@ -40,6 +40,7 @@ def best_output_size(w, h, dw, dh, expected_area):
|
|
| 40 |
else:
|
| 41 |
return ow2, oh2
|
| 42 |
|
|
|
|
| 43 |
|
| 44 |
image = load_image(block_state.image).convert("RGB")
|
| 45 |
max_area = 1280*704
|
|
|
|
| 40 |
else:
|
| 41 |
return ow2, oh2
|
| 42 |
|
| 43 |
+
from diffusers.utils import load_image
|
| 44 |
|
| 45 |
image = load_image(block_state.image).convert("RGB")
|
| 46 |
max_area = 1280*704
|