LiuZichen commited on
Commit
c39f69d
·
verified ·
1 Parent(s): 6768c9b

Update edit_space.py

Browse files
Files changed (1) hide show
  1. edit_space.py +1 -1
edit_space.py CHANGED
@@ -269,7 +269,7 @@ class KontextEditModel():
269
  }
270
 
271
  # Prepare debug/output images
272
- debug_image = lineart_output if lineart_output is not None else self.color_processor.execute(colored_image, resolution=1024)[0]
273
 
274
  # Run inference
275
  result_pil = self.pipe(
 
269
  }
270
 
271
  # Prepare debug/output images
272
+ debug_image = lineart_output if lineart_output is not None else self.color_processor(colored_image, detect_resolution=1024)
273
 
274
  # Run inference
275
  result_pil = self.pipe(