Spaces:
Running
on
Zero
Running
on
Zero
Update edit_space.py
Browse files- 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
|
| 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(
|