linoyts HF staff commited on
Commit
4e76a49
·
verified ·
1 Parent(s): 2b47e46

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
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,).images[0]
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