Go to file
Qing 66d3c6e322 update 2023-03-01 21:56:06 +08:00
.github Update issue templates 2023-02-17 10:01:20 +08:00
assets update 2023-02-12 22:34:02 +08:00
docker update dockerfile 2023-01-20 09:50:14 +08:00
lama_cleaner update 2023-03-01 21:56:06 +08:00
scripts update 2023-03-01 21:56:06 +08:00
.gitignore fix pil_to_bytes quality 2023-02-07 21:06:31 +08:00
LICENSE init 2021-11-15 22:21:01 +08:00
README.md Update README.md 2023-02-28 21:43:11 +08:00
build_docker.sh update dockerfile 2023-01-20 09:50:14 +08:00
main.py add setup.py 2022-04-18 15:15:51 +08:00
publish.sh update 2022-04-18 22:18:48 +08:00
requirements-dev.txt add setup.py 2022-04-18 15:15:51 +08:00
requirements.txt update 2023-02-07 09:26:43 +08:00
setup.py 0.36.4 2023-03-01 09:18:48 +08:00

README.md

Lama Cleaner

A free and open-source inpainting tool powered by SOTA AI model.

total download version Open in Colab Hugging Face Spaces python version version

https://user-images.githubusercontent.com/3998421/196976498-ba1ad3ab-fa18-4c55-965f-5c6683141375.mp4

Sponsor

❤️ Your logo

Features

Quick Start

Lama Cleaner make it easy to use SOTA AI model in just two commands:

# In order to use the GPU, install cuda version of pytorch first.
# pip install torch==1.13.1+cu117 --extra-index-url https://download.pytorch.org/whl/cu117
pip install lama-cleaner
lama-cleaner --model=lama --device=cpu --port=8080

That's it, Lama Cleaner is now running at http://localhost:8080

See all command line arguments at lama-cleaner-docs

Development

Only needed if you plan to modify the frontend and recompile yourself.

Frontend

Frontend code are modified from cleanup.pictures, You can experience their great online services here.

  • Install dependencies:cd lama_cleaner/app/ && pnpm install
  • Start development server: pnpm start
  • Build: pnpm build