Alexander Bagus commited on
Commit
a316f4d
·
1 Parent(s): d731ce8
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -117,7 +117,7 @@ def inference(
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")
123
  control_image = processor(control_image, to_pil=True)
 
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((1024, 1024))
121
 
122
  print("DEBUG: processor running")
123
  control_image = processor(control_image, to_pil=True)