update README.md

This commit is contained in:
Qing 2022-10-27 23:02:31 +08:00
parent 75ecb16953
commit 49e26a5e6c
2 changed files with 12 additions and 6 deletions

View File

@ -4,12 +4,18 @@
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 and set other configs.
- lama model: State of the art image inpainting AI model, useful to remove any unwanted object, defect, people from your pictures.
- sd1.5 model: 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).
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
coming soon...
1. Download [lama-cleaner-win.zip]()
1. Unpack `lama-cleaner-win.zip`
1. Double click `win_config.command`, follow the guide in the terminal to choice [model](#model-description) and set other configs.
1. Double click `win_start.command` 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).

View File

@ -88,7 +88,7 @@ def config(c, disable_device_choice=False):
)
device = DEVICE.CPU
desktop = Confirm.ask("Start as desktop app?")
desktop = Confirm.ask("Start as desktop app?", default=True)
configs = {
"model": model,