Manjushri commited on
Commit
14671d3
·
verified ·
1 Parent(s): c26292b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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=5, strength=strength, guidance_scale=0.0).images[0]
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"