diff --git a/README.md b/README.md index 75f1d10..5300026 100644 --- a/README.md +++ b/README.md @@ -6,11 +6,19 @@ ComfyUI-Lightx2vWrapper 是一个用于 ComfyUI 的 [Lightx2v](https://github.co ## 安装 -```bash cd ComfyUI/custom_nodes -git clone https://github.com/gaopeng123456/ComfyUI-Lightx2vWrapper.git +# Option 1: If lightx2v is a submodule +# git clone --recursive https://github.com/gaopeng123456/ComfyUI-Lightx2vWrapper.git +# cd ComfyUI-Lightx2vWrapper +# pip install -r lightx2v/requirements.txt # Install dependencies for lightx2v +# pip install -r requirements.txt # If wrapper has its own (please specify) -``` +# Option 2: If lightx2v needs to be cloned manually +git clone https://github.com/gaopeng123456/ComfyUI-Lightx2vWrapper.git +cd ComfyUI-Lightx2vWrapper +git clone https://github.com/ModelTC/lightx2v.git lightx2v +pip install -r lightx2v/requirements.txt # Install dependencies for lightx2v +# pip install -r requirements.txt # If wrapper has its own (please specify) ## 使用