Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
|
@@ -105,8 +105,8 @@ def preprocess_image(image: Image.Image,
|
|
| 105 |
controlnet_conditioning_scale=controlnet_conditioning_scale,
|
| 106 |
guidance_scale=guidance_scale,
|
| 107 |
width=new_width,
|
| 108 |
-
height=new_height
|
| 109 |
-
|
| 110 |
processed_image = pipeline.preprocess_image(image)
|
| 111 |
return processed_image
|
| 112 |
|
|
|
|
| 105 |
controlnet_conditioning_scale=controlnet_conditioning_scale,
|
| 106 |
guidance_scale=guidance_scale,
|
| 107 |
width=new_width,
|
| 108 |
+
height=new_height).images[0]
|
| 109 |
+
print(type(image))
|
| 110 |
processed_image = pipeline.preprocess_image(image)
|
| 111 |
return processed_image
|
| 112 |
|