20 lines
658 B
Markdown
20 lines
658 B
Markdown
# Lama-cleaner: Image inpainting tool powered by [LaMa](https://github.com/saic-mdal/lama)
|
|
|
|
This project is mainly used for selfhosting LaMa model, some interaction improvements may be added later.
|
|
|
|
## Quick Start
|
|
|
|
- Install requirements: `pip3 install -r requirements.txt`
|
|
- Start server: `python3 main.py --device=cuda --port=8080`
|
|
|
|
## Development
|
|
|
|
### Fronted
|
|
|
|
Frontend code are modified from [cleanup.pictures](https://github.com/initml/cleanup.pictures),
|
|
You can experience their great online services [here](https://cleanup.pictures/).
|
|
|
|
- Install dependencies:`cd lama_cleaner/app/ && yarn`
|
|
- Start development server: `yarn dev`
|
|
- Build: `yarn build`
|