mirror of
https://github.com/comfyanonymous/ComfyUI.git
synced 2025-07-19 14:07:08 +08:00
update clean uv use
This commit is contained in:
parent
28d5474d76
commit
219237379c
@ -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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user