Alexander Bagus commited on
Commit
eaa6790
·
1 Parent(s): 788fe52
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -115,8 +115,8 @@ def inference(
115
  processor = Processor('canny')
116
 
117
 
118
-
119
- control_image, width, height = rescale_image(input_image, image_scale, 8)
120
  control_image = control_image.resize((512, 512))
121
 
122
  print("DEBUG: processor running")
 
115
  processor = Processor('canny')
116
 
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((512, 512))
121
 
122
  print("DEBUG: processor running")