Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -22,7 +22,7 @@ def predict(source_img, prompt, strength):
|
|
22 |
src.save("src.png")
|
23 |
mask = resize(768, "data_mask.png")
|
24 |
mask.save("mask.png")
|
25 |
-
image = pipe(prompt=prompt, image=src, mask_image=mask, num_inference_steps=
|
26 |
return image
|
27 |
|
28 |
title="SDXL Turbo Inpainting CPU"
|
|
|
22 |
src.save("src.png")
|
23 |
mask = resize(768, "data_mask.png")
|
24 |
mask.save("mask.png")
|
25 |
+
image = pipe(prompt=prompt, image=src, mask_image=mask, num_inference_steps=8, strength=strength, guidance_scale=0.0).images[0]
|
26 |
return image
|
27 |
|
28 |
title="SDXL Turbo Inpainting CPU"
|