From a919eca0529a7177a6a547be6eff924eaee8a470 Mon Sep 17 00:00:00 2001 From: AI Lab <129358391+1038lab@users.noreply.github.com> Date: Wed, 25 Dec 2024 02:44:12 -0800 Subject: [PATCH] Update README.md --- README.md | 26 +++++++++++++++----------- 1 file changed, 15 insertions(+), 11 deletions(-) diff --git a/README.md b/README.md index 074fe22..b3da576 100644 --- a/README.md +++ b/README.md @@ -42,19 +42,23 @@ $${\color{red}It's\ a\ greatest\ encouragement\ for\ my\ efforts!}$$ ## Installation -1. install on ComfyUI-Manager, search `Comfyui-RMBG` and install - install requirment.txt in the ComfyUI-RMBG folder - ```bash - ./ComfyUI/python_embeded/python -m pip install -r requirements.txt - ``` +### Method 1. install on ComfyUI-Manager, search `Comfyui-RMBG` and install +install requirment.txt in the ComfyUI-RMBG folder + ```bash + ./ComfyUI/python_embeded/python -m pip install -r requirements.txt + ``` -2. Clone this repository to your ComfyUI custom_nodes folder: -```bash -cd ComfyUI/custom_nodes -git clone https://github.com/1038lab/ComfyUI-RMBG -``` +### Method 2. Clone this repository to your ComfyUI custom_nodes folder: + ```bash + cd ComfyUI/custom_nodes + git clone https://github.com/1038lab/ComfyUI-RMBG + ``` + install requirment.txt in the ComfyUI-RMBG folder + ```bash + ./ComfyUI/python_embeded/python -m pip install -r requirements.txt + ``` -3. Manually download the models: +### 3. Manually download the models: - The model will be automatically downloaded to `ComfyUI/models/RMBG/` when first time using the custom node. - Manually download the RMBG-2.0 model by visiting this [link](https://huggingface.co/briaai/RMBG-2.0/tree/main), then download the files and place them in the `/ComfyUI/models/RMBG/RMBG-2.0` folder. - Manually download the INSPYRENET models by visiting the [link](https://huggingface.co/1038lab/inspyrenet), then download the files and place them in the `/ComfyUI/models/RMBG/INSPYRENET` folder.