IOPaint/scripts/README.md
2022-10-31 21:11:25 +08:00

22 lines
1.2 KiB
Markdown

# Lama Cleaner One Click Installer
## macOS
1. Download [lama-cleaner-macOS.zip](https://github.com/Sanster/lama-cleaner/releases/download/one_click_installer/lama-cleaner-macOS.zip)
1. Unpack `lama-cleaner-macOS.zip`
1. Double click `mac_config.command`, follow the guide in the terminal to choice [model](#model-description) and set other configs.
1. Double click `mac_start.command` to start the server.
## Windows
1. Download [lama-cleaner-win.zip](https://github.com/Sanster/lama-cleaner/releases/download/win_one_click_installer/lama-cleaner-win.zip)
1. Unpack `lama-cleaner-win.zip`
1. Double click `win_config.bat`, follow the guide in the terminal to choice [model](#model-description) and set other configs.
1. Double click `win_start.bat` to start the server.
## Model Description
- **lama**: State of the art image inpainting AI model, useful to remove any unwanted object, defect, people from your pictures.
- **sd1.5**: Stable Diffusion model, text-driven image editing. To use this model you need to [accepting the terms to access](https://huggingface.co/runwayml/stable-diffusion-inpainting), and
get an access token from here [huggingface access token](https://huggingface.co/docs/hub/security-tokens).