patrickvonplaten commited on
Commit
6cf1aef
1 Parent(s): eb73ff2

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +1 -7
README.md CHANGED
@@ -55,12 +55,6 @@ We recommend using [🤗's Diffusers library](https://github.com/huggingface/dif
55
  pip install --upgrade diffusers transformers scipy
56
  ```
57
 
58
- Run this command to log in with your HF Hub token if you haven't before:
59
-
60
- ```bash
61
- huggingface-cli login
62
- ```
63
-
64
  Running the pipeline with the default PNDM scheduler:
65
 
66
  ```python
@@ -89,7 +83,7 @@ If you are limited by GPU memory and have less than 10GB of GPU RAM available, p
89
  ```py
90
  import torch
91
 
92
- pipe = StableDiffusionPipeline.from_pretrained(model_id, torch_dtype=torch.float16, revision="fp16", use_auth_token=True)
93
  pipe = pipe.to(device)
94
 
95
  prompt = "a photo of an astronaut riding a horse on mars"
 
55
  pip install --upgrade diffusers transformers scipy
56
  ```
57
 
 
 
 
 
 
 
58
  Running the pipeline with the default PNDM scheduler:
59
 
60
  ```python
 
83
  ```py
84
  import torch
85
 
86
+ pipe = StableDiffusionPipeline.from_pretrained(model_id, torch_dtype=torch.float16)
87
  pipe = pipe.to(device)
88
 
89
  prompt = "a photo of an astronaut riding a horse on mars"