Aryama Ray
commited on
Update README.md
Browse files
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 |
-
.images[0]
|
25 |
image.show()
|
26 |
</pre>
|
27 |
-
.images[0]
|
34 |
image.show()
|
35 |
</pre>
|
36 |
-

|
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 |
+

|
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 |
+

|
49 |
|
50 |
|
51 |
<pre>
|
|
|
54 |
image = pipe(prompt,height=512, width=512).images[0]
|
55 |
image.show()
|
56 |
</pre>
|
57 |
+

|