Deadmon commited on
Commit
d1be92b
·
verified ·
1 Parent(s): ba6d92c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -38,7 +38,7 @@ def generate_image(prompt, control_image_depth, control_mode_depth_index, use_de
38
  control_modes.append(control_mode_canny_index)
39
  conditioning_scales.append(0.4)
40
 
41
- width, height = control_image_canny.size
42
 
43
  image = pipe(
44
  prompt,
 
38
  control_modes.append(control_mode_canny_index)
39
  conditioning_scales.append(0.4)
40
 
41
+ width, height = control_image_canny.shape[:2]
42
 
43
  image = pipe(
44
  prompt,