Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
|
@@ -85,8 +85,6 @@ def infer(image_in, prompt, inference_steps, guidance_scale, control_weight):
|
|
| 85 |
controlnet_conditioning=controlnet_conditioning,
|
| 86 |
num_inference_steps=inference_steps,
|
| 87 |
guidance_scale=guidance_scale,
|
| 88 |
-
width=w,
|
| 89 |
-
height=h
|
| 90 |
).images[0]
|
| 91 |
|
| 92 |
image_redim, w, h = resize_image(image_in, "resized_input.jpg", 1024)
|
|
|
|
| 85 |
controlnet_conditioning=controlnet_conditioning,
|
| 86 |
num_inference_steps=inference_steps,
|
| 87 |
guidance_scale=guidance_scale,
|
|
|
|
|
|
|
| 88 |
).images[0]
|
| 89 |
|
| 90 |
image_redim, w, h = resize_image(image_in, "resized_input.jpg", 1024)
|