Aryama Ray commited on
Commit
62a37ec
·
verified ·
1 Parent(s): e64a9c3

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +24 -3
README.md CHANGED
@@ -8,8 +8,29 @@ tags:
8
  - comic
9
  pipeline_tag: text-to-image
10
  library_name: diffusers
 
11
  ---
 
 
12
  # Model Card for Model ID
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
13
 
14
  ## Sample Prompt
15
 
@@ -17,14 +38,14 @@ library_name: diffusers
17
  negative_prompt = "blurry, low quality, distorted, extra limbs, bad anatomy, deformed face, realistic face"
18
  image = pipe(prompt,height=512, width=512).images[0]
19
  image.show() </pre>
20
- ![Sample Output1](generated_image.png)
21
 
22
 
23
  <pre> prompt = "a girl playing with a balloon, yarn art style"
24
  image = pipe(prompt,height=512, width=512).images[0]
25
  image.show()
26
  </pre>
27
- ![Sample Output2](generated_image.png)
28
 
29
 
30
  <pre>
@@ -33,4 +54,4 @@ negative_prompt = "blurry, low quality, distorted, extra limbs, bad anatomy, def
33
  image = pipe(prompt,height=512, width=512).images[0]
34
  image.show()
35
  </pre>
36
- ![Sample Output3](generated_image.png)
 
8
  - comic
9
  pipeline_tag: text-to-image
10
  library_name: diffusers
11
+ license: apache-2.0
12
  ---
13
+ iamno-one/sdxl_dreambooth_lora_yarn_art_v3 is finetuned a SDXL base with Dreambooth Lora for style transfer.
14
+
15
  # Model Card for Model ID
16
+ <pre>from diffusers import DiffusionPipeline, AutoencoderKL
17
+ import torch
18
+
19
+ vae = AutoencoderKL.from_pretrained("madebyollin/sdxl-vae-fp16-fix", torch_dtype=torch.float16)
20
+
21
+ pipe = DiffusionPipeline.from_pretrained(
22
+ "stabilityai/stable-diffusion-xl-base-1.0",
23
+ vae=vae,
24
+ torch_dtype=torch.float16,
25
+ variant="fp16",
26
+ use_safetensors=True
27
+ ).to(device)
28
+
29
+
30
+ ## adding Lora weight
31
+ pipe.load_lora_weights("iamno-one/sdxl_dreambooth_lora_yarn_art_v3")
32
+
33
+ </pre>
34
 
35
  ## Sample Prompt
36
 
 
38
  negative_prompt = "blurry, low quality, distorted, extra limbs, bad anatomy, deformed face, realistic face"
39
  image = pipe(prompt,height=512, width=512).images[0]
40
  image.show() </pre>
41
+ ![Sample Output1](sample_3.png)
42
 
43
 
44
  <pre> prompt = "a girl playing with a balloon, yarn art style"
45
  image = pipe(prompt,height=512, width=512).images[0]
46
  image.show()
47
  </pre>
48
+ ![Sample Output2](sample_2.png)
49
 
50
 
51
  <pre>
 
54
  image = pipe(prompt,height=512, width=512).images[0]
55
  image.show()
56
  </pre>
57
+ ![Sample Output3](sample_6.png)