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