Spaces:
Running
on
Zero
Running
on
Zero
Alexander Bagus
commited on
Commit
·
a316f4d
1
Parent(s):
d731ce8
22
Browse files
app.py
CHANGED
|
@@ -117,7 +117,7 @@ def inference(
|
|
| 117 |
|
| 118 |
# Width must be divisible by 16
|
| 119 |
control_image, width, height = rescale_image(input_image, image_scale, 16)
|
| 120 |
-
control_image = control_image.resize((
|
| 121 |
|
| 122 |
print("DEBUG: processor running")
|
| 123 |
control_image = processor(control_image, to_pil=True)
|
|
|
|
| 117 |
|
| 118 |
# Width must be divisible by 16
|
| 119 |
control_image, width, height = rescale_image(input_image, image_scale, 16)
|
| 120 |
+
control_image = control_image.resize((1024, 1024))
|
| 121 |
|
| 122 |
print("DEBUG: processor running")
|
| 123 |
control_image = processor(control_image, to_pil=True)
|