update clean uv use

This commit is contained in:
khaangnguyeen 2025-01-17 10:55:19 +07:00
parent 28d5474d76
commit 219237379c

View File

@ -240,7 +240,7 @@ UV is an extremely fast Python package and project manager, written in Rust. For
```bash ```bash
git clone https://github.com/comfyanonymous/ComfyUI.git # Clone this repo git clone https://github.com/comfyanonymous/ComfyUI.git # Clone this repo
cd ComfyUI # Move to created folder cd ComfyUI # Move to created folder
uv add --requirements requirements.txt # Add dependencies uv add -r requirements.txt # Add dependencies
``` ```
# Running # Running
@ -252,7 +252,7 @@ python main.py
If using **UV**: If using **UV**:
```bash ```bash
uv run python main.py uv run main.py
# or in case of activating the virtual env before # or in case of activating the virtual env before
source .venv/bin/activate source .venv/bin/activate
python main.py python main.py