Commit
·
0ddf187
1
Parent(s):
bc6cb39
Update README.md
Browse files
README.md
CHANGED
|
@@ -12,4 +12,25 @@ Use **Microscopic** in your prompts.
|
|
| 12 |
|
| 13 |
Image enhancing : Before/After
|
| 14 |

|
| 15 |
-
Based on StableDiffusion 1.5 model
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 12 |
|
| 13 |
Image enhancing : Before/After
|
| 14 |

|
| 15 |
+
Based on StableDiffusion 1.5 model
|
| 16 |
+
|
| 17 |
+
### 🧨 Diffusers
|
| 18 |
+
|
| 19 |
+
This model can be used just like any other Stable Diffusion model. For more information,
|
| 20 |
+
please have a look at the [Stable Diffusion](https://huggingface.co/docs/diffusers/api/pipelines/stable_diffusion).
|
| 21 |
+
|
| 22 |
+
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]().
|
| 23 |
+
|
| 24 |
+
```python
|
| 25 |
+
from diffusers import StableDiffusionPipeline
|
| 26 |
+
import torch
|
| 27 |
+
|
| 28 |
+
model_id = "Fictiverse/Stable_Diffusion_PaperCut_Model"
|
| 29 |
+
pipe = StableDiffusionPipeline.from_pretrained(model_id, torch_dtype=torch.float16)
|
| 30 |
+
pipe = pipe.to("cuda")
|
| 31 |
+
|
| 32 |
+
prompt = "PaperCut R2-D2"
|
| 33 |
+
image = pipe(prompt).images[0]
|
| 34 |
+
|
| 35 |
+
image.save("./R2-D2.png")
|
| 36 |
+
```
|