prithivMLmods
commited on
Commit
•
64c44f1
1
Parent(s):
1938254
Update README.md
Browse files
README.md
CHANGED
@@ -48,7 +48,25 @@ Image Processing Parameters
|
|
48 |
| Epoch | 20 | Save Every N Epochs | 1 |
|
49 |
|
50 |
|
51 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
52 |
|
53 |
|
54 |
## Trigger prompts
|
|
|
48 |
| Epoch | 20 | Save Every N Epochs | 1 |
|
49 |
|
50 |
|
51 |
+
```py
|
52 |
+
pipe = StableDiffusionXLPipeline.from_pretrained(
|
53 |
+
"-------------xxxxxxxxx----------",
|
54 |
+
torch_dtype=torch.float16,
|
55 |
+
use_safetensors=True,
|
56 |
+
)
|
57 |
+
(or)
|
58 |
+
-----------------------------------------------------------
|
59 |
+
pipe = StableDiffusionXLPipeline.from_pretrained(
|
60 |
+
"stabilityai/stable-diffusion-xl-base-1.0",
|
61 |
+
torch_dtype=torch.float16,
|
62 |
+
use_safetensors=True,
|
63 |
+
)
|
64 |
+
pipe.scheduler = EulerAncestralDiscreteScheduler.from_config(pipe.scheduler.config)
|
65 |
+
|
66 |
+
pipe.load_lora_weights("prithivMLmods/Canopus-Realism-LoRA", weight_name="Canopus-Realism-LoRA.safetensors", adapter_name="rlms")
|
67 |
+
pipe.set_adapters("rlms")
|
68 |
+
pipe.to("cuda")
|
69 |
+
```
|
70 |
|
71 |
|
72 |
## Trigger prompts
|