Fictiverse
commited on
Commit
•
a81615f
1
Parent(s):
07b1814
Update README.md
Browse files
README.md
CHANGED
@@ -9,4 +9,25 @@ Use **Elrisitas** in your prompts.
|
|
9 |
### Sample images:
|
10 |
![output Samples](https://s3.amazonaws.com/moonup/production/uploads/1666666375549-635749860725c2f190a76e88.png)
|
11 |
![output Samples](https://s3.amazonaws.com/moonup/production/uploads/1666827671053-635749860725c2f190a76e88.png)
|
12 |
-
Based on StableDiffusion 1.5 model
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
9 |
### Sample images:
|
10 |
![output Samples](https://s3.amazonaws.com/moonup/production/uploads/1666666375549-635749860725c2f190a76e88.png)
|
11 |
![output Samples](https://s3.amazonaws.com/moonup/production/uploads/1666827671053-635749860725c2f190a76e88.png)
|
12 |
+
Based on StableDiffusion 1.5 model
|
13 |
+
|
14 |
+
### 🧨 Diffusers
|
15 |
+
|
16 |
+
This model can be used just like any other Stable Diffusion model. For more information,
|
17 |
+
please have a look at the [Stable Diffusion](https://huggingface.co/docs/diffusers/api/pipelines/stable_diffusion).
|
18 |
+
|
19 |
+
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]().
|
20 |
+
|
21 |
+
```python
|
22 |
+
from diffusers import StableDiffusionPipeline
|
23 |
+
import torch
|
24 |
+
|
25 |
+
model_id = "Fictiverse/Stable_Diffusion_PaperCut_Model"
|
26 |
+
pipe = StableDiffusionPipeline.from_pretrained(model_id, torch_dtype=torch.float16)
|
27 |
+
pipe = pipe.to("cuda")
|
28 |
+
|
29 |
+
prompt = "PaperCut R2-D2"
|
30 |
+
image = pipe(prompt).images[0]
|
31 |
+
|
32 |
+
image.save("./R2-D2.png")
|
33 |
+
```
|