Go to file
Qing 61d56288a5 update 2023-12-22 14:00:30 +08:00
.github Update issue templates 2023-02-17 10:01:20 +08:00
assets Add files via upload 2023-05-18 22:25:41 +08:00
docker update dockerfile 2023-05-19 21:46:49 +08:00
lama_cleaner update 2023-12-22 14:00:30 +08:00
scripts Update environment.yaml 2023-04-24 17:17:13 +03:00
web_app update 2023-12-22 14:00:11 +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-09-01 10:16:56 +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 update 2023-12-22 14:00:30 +08:00
requirements.txt backend add freeu 2023-11-14 22:10:32 +08:00
setup.py 1.2.4 2023-10-05 21:56:13 +08:00

README.md

logo

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

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 torchvision==0.14.1 --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