ciover2024 commited on
Commit
710e9ed
1 Parent(s): a613b13

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -121,7 +121,7 @@ def inpaint_image(input_image, mask_image):
121
  result = inpaint_pipeline(prompt=prompt, negative_prompt=negative_prompt, height=IMAGE_SIZE[0], width=IMAGE_SIZE[0], image=initial_input_image, mask_image=blurred_mask_image, padding_mask_crop=32)
122
  """
123
  #blurred_mask_image = inpaint_pipeline.mask_processor.blur(mask_image,blur_factor=50)
124
- result = inpaint_pipeline(prompt=prompt, negative_prompt=negative_prompt, image=input_image, mask_image=mask_image, padding_mask_crop=1)
125
  inpainted_image = result.images[0]
126
  #inpainted_image = resize_to_match(input_image, inpainted_image)
127
  return inpainted_image
 
121
  result = inpaint_pipeline(prompt=prompt, negative_prompt=negative_prompt, height=IMAGE_SIZE[0], width=IMAGE_SIZE[0], image=initial_input_image, mask_image=blurred_mask_image, padding_mask_crop=32)
122
  """
123
  #blurred_mask_image = inpaint_pipeline.mask_processor.blur(mask_image,blur_factor=50)
124
+ result = inpaint_pipeline(prompt=prompt, negative_prompt=negative_prompt, image=input_image, mask_image=mask_image, padding_mask_crop=10)
125
  inpainted_image = result.images[0]
126
  #inpainted_image = resize_to_match(input_image, inpainted_image)
127
  return inpainted_image