From 49e26a5e6cf52130e6bcaf2597767b912a8561dd Mon Sep 17 00:00:00 2001 From: Qing Date: Thu, 27 Oct 2022 23:02:31 +0800 Subject: [PATCH] update README.md --- scripts/README.md | 16 +++++++++++----- scripts/user_scripts/tasks.py | 2 +- 2 files changed, 12 insertions(+), 6 deletions(-) diff --git a/scripts/README.md b/scripts/README.md index 764ed0b..aa55016 100644 --- a/scripts/README.md +++ b/scripts/README.md @@ -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). diff --git a/scripts/user_scripts/tasks.py b/scripts/user_scripts/tasks.py index bc858e5..44baf42 100644 --- a/scripts/user_scripts/tasks.py +++ b/scripts/user_scripts/tasks.py @@ -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,