nevreal commited on
Commit
2d35782
·
verified ·
1 Parent(s): 87d91d9

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +25 -0
README.md CHANGED
@@ -17,3 +17,28 @@ widget:
17
  url: images/example_tuu2prmmc.png
18
 
19
  ---
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
17
  url: images/example_tuu2prmmc.png
18
 
19
  ---
20
+
21
+
22
+
23
+ use model like this:
24
+
25
+
26
+ ```
27
+
28
+ from diffusers import DiffusionPipeline
29
+
30
+ # Step 1: Load the base pipeline
31
+ pipeline = DiffusionPipeline.from_pretrained("John6666/mala-anime-mix-nsfw-pony-xl-v3-sdxl")
32
+
33
+ # Step 2: Load the LoRA weights into the pipeline
34
+ pipeline.load_lora_weights("nevreal/stocking-anarchy-anime-ponyxl-lora-nochekaiser")
35
+
36
+ # Step 3: Define a prompt and generate an image
37
+ prompt = "psg stocking, blue eyes, blue hair, colored inner hair, hair bow, long hair, multicolored hair, pink hair, two-tone hair, bangs, blunt bangs,"
38
+ image = pipeline(prompt).images[0]
39
+
40
+
41
+ image.show()
42
+
43
+
44
+ ```