Files changed (1) hide show
  1. Yay +12 -0
Yay ADDED
@@ -0,0 +1,12 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ #!pip install diffusers transformers scipy torch
2
+ from diffusers import StableDiffusionPipeline
3
+ import torch
4
+
5
+ model_id = "nitrosocke/spider-verse-diffusion"
6
+ pipe = StableDiffusionPipeline.from_pretrained(model_id, torch_dtype=torch.float16)
7
+ pipe = pipe.to("cuda")
8
+
9
+ prompt = "a magical princess with golden hair, spiderverse style"
10
+ image = pipe(prompt).images[0]
11
+
12
+ image.save("./magical_princess.png")