patrickvonplaten commited on
Commit
a1cda71
1 Parent(s): 11a3326

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +1 -1
README.md CHANGED
@@ -89,7 +89,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, use_auth_token=True)
93
  pipe = pipe.to(device)
94
 
95
  prompt = "a photo of an astronaut riding a horse on mars"
 
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"