This commit is contained in:
wq.chu
2021-11-15 15:22:34 +08:00
commit 4e027f81e6
44 changed files with 14458 additions and 0 deletions

19
README.md Normal file
View File

@@ -0,0 +1,19 @@
# 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`