You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/source/en/installation.md
+15-1Lines changed: 15 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -23,13 +23,27 @@ You should install 🤗 Diffusers in a [virtual environment](https://docs.python
23
23
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/).
24
24
A virtual environment makes it easier to manage different projects and avoid compatibility issues between dependencies.
25
25
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
+
<hfoptionsid="install">
29
+
<hfoptionid="uv">
27
30
28
31
```bash
29
32
uv venv my-env
30
33
source my-env/bin/activate
31
34
```
32
35
36
+
</hfoption>
37
+
<hfoptionid="Python">
38
+
39
+
```bash
40
+
python -m venv my-env
41
+
source my-env/bin/activate
42
+
```
43
+
44
+
</hfoption>
45
+
</hfoptions>
46
+
33
47
You should also install 🤗 Transformers because 🤗 Diffusers relies on its models.
0 commit comments