Skip to content

Commit 8864e86

Browse files
committed
another missed login
1 parent b3e6a96 commit 8864e86

File tree

1 file changed

+5
-5
lines changed
  • src/diffusers/pipelines/stable_diffusion

1 file changed

+5
-5
lines changed

src/diffusers/pipelines/stable_diffusion/README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ download the weights with `git lfs install; git clone https://huggingface.co/sta
2828

2929
### Using Stable Diffusion without being logged into the Hub.
3030

31-
If you want to download the model weights using a single Python line, you need to be logged in via `huggingface-cli login`.
31+
If you want to download the model weights using a single Python line, you need to be logged in via `hf auth login`.
3232

3333
```python
3434
from diffusers import DiffusionPipeline
@@ -54,7 +54,7 @@ pipe = StableDiffusionPipeline.from_pretrained("./stable-diffusion-v1-5")
5454
### Text-to-Image with default PLMS scheduler
5555

5656
```python
57-
# make sure you're logged in with `huggingface-cli login`
57+
# make sure you're logged in with `hf auth login`
5858
from diffusers import StableDiffusionPipeline
5959

6060
pipe = StableDiffusionPipeline.from_pretrained("stable-diffusion-v1-5/stable-diffusion-v1-5")
@@ -69,7 +69,7 @@ image.save("astronaut_rides_horse.png")
6969
### Text-to-Image with DDIM scheduler
7070

7171
```python
72-
# make sure you're logged in with `huggingface-cli login`
72+
# make sure you're logged in with `hf auth login`
7373
from diffusers import StableDiffusionPipeline, DDIMScheduler
7474

7575
scheduler = DDIMScheduler.from_pretrained("CompVis/stable-diffusion-v1-4", subfolder="scheduler")
@@ -88,7 +88,7 @@ image.save("astronaut_rides_horse.png")
8888
### Text-to-Image with K-LMS scheduler
8989

9090
```python
91-
# make sure you're logged in with `huggingface-cli login`
91+
# make sure you're logged in with `hf auth login`
9292
from diffusers import StableDiffusionPipeline, LMSDiscreteScheduler
9393

9494
lms = LMSDiscreteScheduler.from_pretrained("CompVis/stable-diffusion-v1-4", subfolder="scheduler")
@@ -118,7 +118,7 @@ from diffusers import CycleDiffusionPipeline, DDIMScheduler
118118
# load the scheduler. CycleDiffusion only supports stochastic schedulers.
119119

120120
# load the pipeline
121-
# make sure you're logged in with `huggingface-cli login`
121+
# make sure you're logged in with `hf auth login`
122122
model_id_or_path = "CompVis/stable-diffusion-v1-4"
123123
scheduler = DDIMScheduler.from_pretrained(model_id_or_path, subfolder="scheduler")
124124
pipe = CycleDiffusionPipeline.from_pretrained(model_id_or_path, scheduler=scheduler).to("cuda")

0 commit comments

Comments
 (0)