mikesmodels commited on
Commit
6bd01aa
1 Parent(s): ca82483

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +19 -1
README.md CHANGED
@@ -35,4 +35,22 @@ Settings used: "wltzwthbshr SUBJECT", euler a, 35 steps, cfg 7, 1024x1024, high
35
  <img src="https://s3.amazonaws.com/moonup/production/uploads/1669067002688-637bef89ca8542a0ba8cd54b.png" width="100%"/>
36
  <img src="https://s3.amazonaws.com/moonup/production/uploads/1669067001859-637bef89ca8542a0ba8cd54b.png" width="100%"/>
37
  <img src="https://s3.amazonaws.com/moonup/production/uploads/1669067002184-637bef89ca8542a0ba8cd54b.png" width="100%"/>
38
- <img src="https://s3.amazonaws.com/moonup/production/uploads/1669067003006-637bef89ca8542a0ba8cd54b.png" width="100%"/>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
35
  <img src="https://s3.amazonaws.com/moonup/production/uploads/1669067002688-637bef89ca8542a0ba8cd54b.png" width="100%"/>
36
  <img src="https://s3.amazonaws.com/moonup/production/uploads/1669067001859-637bef89ca8542a0ba8cd54b.png" width="100%"/>
37
  <img src="https://s3.amazonaws.com/moonup/production/uploads/1669067002184-637bef89ca8542a0ba8cd54b.png" width="100%"/>
38
+ <img src="https://s3.amazonaws.com/moonup/production/uploads/1669067003006-637bef89ca8542a0ba8cd54b.png" width="100%"/>
39
+
40
+ ### 🧨 Diffusers
41
+
42
+ This model can be used just like any other Stable Diffusion model. For more information,
43
+ please have a look at the [Stable Diffusion](https://huggingface.co/docs/diffusers/api/pipelines/stable_diffusion).
44
+
45
+ You can also export the model to [ONNX](https://huggingface.co/docs/diffusers/optimization/onnx), [MPS](https://huggingface.co/docs/diffusers/optimization/mps) and/or [FLAX/JAX]().
46
+
47
+ ```python
48
+ from diffusers import StableDiffusionPipeline
49
+ import torch
50
+ model_id = "mikesmodels/Waltz_with_Bashir_Diffusion"
51
+ pipe = StableDiffusionPipeline.from_pretrained(model_id, torch_dtype=torch.float16)
52
+ pipe = pipe.to("cuda")
53
+ prompt = "wltzwthbshr dwayne johnson"
54
+ image = pipe(prompt).images[0]
55
+ image.save("./dwayne johnson.png")
56
+ ```