Spaces:
Runtime error
Runtime error
swap img control
Browse files
app.py
CHANGED
@@ -94,8 +94,8 @@ def inpaint(
|
|
94 |
|
95 |
image_res = pipe(
|
96 |
prompt,
|
97 |
-
image=
|
98 |
-
control_image=
|
99 |
mask_image=resized_mask,
|
100 |
strength=strength,
|
101 |
num_inference_steps=num_inference_steps,
|
|
|
94 |
|
95 |
image_res = pipe(
|
96 |
prompt,
|
97 |
+
image=canny_image,
|
98 |
+
control_image=resized_image,
|
99 |
mask_image=resized_mask,
|
100 |
strength=strength,
|
101 |
num_inference_steps=num_inference_steps,
|