patrickvonplaten
commited on
Commit
•
6e958c4
1
Parent(s):
ef6b7af
up
Browse files
magical_princess_Arcane-Diffusion.png
CHANGED
Git LFS Details
|
Git LFS Details
|
magical_princess_archer-diffusion.png
CHANGED
Git LFS Details
|
Git LFS Details
|
magical_princess_elden-ring-diffusion.png
CHANGED
Git LFS Details
|
Git LFS Details
|
magical_princess_mo-di-diffusion.png
CHANGED
Git LFS Details
|
Git LFS Details
|
magical_princess_spider-verse-diffusion.png
CHANGED
Git LFS Details
|
Git LFS Details
|
run.py
CHANGED
@@ -3,13 +3,14 @@ from diffusers import StableDiffusionPipeline
|
|
3 |
import torch
|
4 |
|
5 |
model_ids = ["nitrosocke/Arcane-Diffusion", "nitrosocke/spider-verse-diffusion", "nitrosocke/mo-di-diffusion", "nitrosocke/archer-diffusion", "nitrosocke/elden-ring-diffusion"]
|
|
|
6 |
|
7 |
|
8 |
-
for model_id in model_ids:
|
9 |
pipe = StableDiffusionPipeline.from_pretrained(model_id, torch_dtype=torch.float16)
|
10 |
pipe = pipe.to("cuda")
|
11 |
|
12 |
-
prompt = "
|
13 |
image = pipe(prompt).images[0]
|
14 |
|
15 |
image.save(f"./magical_princess_{model_id.split('/')[-1]}.png")
|
|
|
3 |
import torch
|
4 |
|
5 |
model_ids = ["nitrosocke/Arcane-Diffusion", "nitrosocke/spider-verse-diffusion", "nitrosocke/mo-di-diffusion", "nitrosocke/archer-diffusion", "nitrosocke/elden-ring-diffusion"]
|
6 |
+
prompts = ["arcane style", "spiderverse style", "modern disney style", "archer style", "elden ring style"]
|
7 |
|
8 |
|
9 |
+
for model_id, prompt in zip(model_ids, prompts):
|
10 |
pipe = StableDiffusionPipeline.from_pretrained(model_id, torch_dtype=torch.float16)
|
11 |
pipe = pipe.to("cuda")
|
12 |
|
13 |
+
prompt = f"a magical princess with golden hair, {prompt}"
|
14 |
image = pipe(prompt).images[0]
|
15 |
|
16 |
image.save(f"./magical_princess_{model_id.split('/')[-1]}.png")
|