Skip to content

Commit 7ed1b67

Browse files
committed
feedback
1 parent d35e7df commit 7ed1b67

File tree

1 file changed

+15
-1
lines changed

1 file changed

+15
-1
lines changed

docs/source/en/installation.md

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,13 +23,27 @@ You should install 🤗 Diffusers in a [virtual environment](https://docs.python
2323
If you're unfamiliar with Python virtual environments, take a look at this [guide](https://packaging.python.org/guides/installing-using-pip-and-virtual-environments/).
2424
A virtual environment makes it easier to manage different projects and avoid compatibility issues between dependencies.
2525

26-
Create a virtual environment with [uv](https://docs.astral.sh/uv/) (refer to [Installation](https://docs.astral.sh/uv/getting-started/installation/) for installation instructions), a fast Rust-based Python package and project manager.
26+
Create a virtual environment with Python or [uv](https://docs.astral.sh/uv/) (refer to [Installation](https://docs.astral.sh/uv/getting-started/installation/) for installation instructions), a fast Rust-based Python package and project manager.
27+
28+
<hfoptions id="install">
29+
<hfoption id="uv">
2730

2831
```bash
2932
uv venv my-env
3033
source my-env/bin/activate
3134
```
3235

36+
</hfoption>
37+
<hfoption id="Python">
38+
39+
```bash
40+
python -m venv my-env
41+
source my-env/bin/activate
42+
```
43+
44+
</hfoption>
45+
</hfoptions>
46+
3347
You should also install 🤗 Transformers because 🤗 Diffusers relies on its models.
3448

3549

0 commit comments

Comments
 (0)