Update README.md
Browse files
README.md
CHANGED
|
@@ -1,3 +1,6 @@
|
|
|
|
|
|
|
|
|
|
|
| 1 |
license: creativeml-openrail-m
|
| 2 |
tags:
|
| 3 |
- stable-diffusion
|
|
@@ -9,9 +12,13 @@ from diffusers import StableDiffusionPipeline
|
|
| 9 |
import torch
|
| 10 |
|
| 11 |
model_id = "michaelz/arcaneface-diffusion"
|
|
|
|
| 12 |
pipe = StableDiffusionPipeline.from_pretrained(model_id, torch_dtype=torch.float16)
|
|
|
|
| 13 |
pipe = pipe.to("cuda")
|
| 14 |
|
| 15 |
prompt = "arcaneface, a beautiful girl"
|
|
|
|
| 16 |
image = pipe(prompt).images[0]
|
|
|
|
| 17 |
image.save("example.png")
|
|
|
|
| 1 |
+
---
|
| 2 |
+
license: openrail
|
| 3 |
+
---
|
| 4 |
license: creativeml-openrail-m
|
| 5 |
tags:
|
| 6 |
- stable-diffusion
|
|
|
|
| 12 |
import torch
|
| 13 |
|
| 14 |
model_id = "michaelz/arcaneface-diffusion"
|
| 15 |
+
|
| 16 |
pipe = StableDiffusionPipeline.from_pretrained(model_id, torch_dtype=torch.float16)
|
| 17 |
+
|
| 18 |
pipe = pipe.to("cuda")
|
| 19 |
|
| 20 |
prompt = "arcaneface, a beautiful girl"
|
| 21 |
+
|
| 22 |
image = pipe(prompt).images[0]
|
| 23 |
+
|
| 24 |
image.save("example.png")
|