Skip to content

Commit

Permalink
Merge pull request #3 from msereniti/main-1
Browse files Browse the repository at this point in the history
Fixed non-working example in readme.md
  • Loading branch information
enesmsahin authored Sep 6, 2023
2 parents 3042a9a + aef6969 commit 0790c45
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ img_path = "image.png"
mask_path = "mask.png"

image = Image.open(img_path)
mask = Image.open(mask_path)
mask = Image.open(mask_path).convert('L')

result = simple_lama(image, mask)
result.save("inpainted.png")
Expand Down

0 comments on commit 0790c45

Please sign in to comment.