Files changed (1) hide show
  1. 石室 +8 -0
石室 ADDED
@@ -0,0 +1,8 @@
 
 
 
 
 
 
 
 
 
1
+ from diffusers import DiffusionPipeline
2
+
3
+ pipe = DiffusionPipeline.from_pretrained("stabilityai/stable-diffusion-xl-base-1.0")
4
+ pipe.load_lora_weights("nerijs/pixel-art-xl")
5
+
6
+ prompt = "pixel art, a cute corgi, simple, flat colors"
7
+ image = pipe(prompt).images[0]
8
+