Skip to content

Commit

Permalink
Fix path bug.
Browse files Browse the repository at this point in the history
  • Loading branch information
enesmsahin committed Dec 17, 2022
1 parent 1c34e17 commit 33936d6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/simple_lama_inpainting/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ def main(image_path, mask_path, out_path=None):
if out_path is None:
out_path = image_path.with_stem(image_path.stem + "_out")

Path.mkdir(out_path.parent, exist_ok=True, parents=True)
Path.mkdir(Path(out_path).parent, exist_ok=True, parents=True)
result.save(out_path)
print(f"Inpainted image is saved to {out_path}")

Expand Down

0 comments on commit 33936d6

Please # to comment.